3.19.2 OPAMP with Override Controls

Operational Amplifier with Override Controls

3.19.2.1 Introduction

The Operational Amplifier (OPA) module features a standard general purpose three-terminal device with programmable gain options, adjustable input offset voltage and hardware override control capabilities. This variant of the module features the Override controls, a Forced tri-state output, and Forced unity gain.

3.19.2.2 Supported Device Families

PIC16F176xPIC16F177x

3.19.2.3 Required header files

#include "mcc_generated_files/opa/opa[X].h"
Note: Replace [X] with the selected instance number of the OPA module.

3.19.2.4 Module Documentation

3.19.2.4.1 OPA1

This is the generated header file for the OPA1 driver.

Module description

This is the generated header file for the OPA1 driver.

Version: OPA1 Driver Version 1.0.0
Functions
  • void OPA1_Initialize (void)

    This routine initializes the OPA1 and must be called before any other OPA1 routine is called.

Function Documentation

OPA1_Initialize()

void OPA1_Initialize (void )

This routine initializes the OPA1 and must be called before any other OPA1 routine is called.

Section: Included Files Section: OPA1 APIs

Parameters:
None.
Returns:

None.

Section: Included Files Section: OPA1 Module APIs

3.19.2.5 File Documentation

3.19.2.5.1 source/opa1.c File Reference

This is the generated driver implementation file for the OPA1 driver.

#include <xc.h>
#include "../opa1.h"

Functions

  • void OPA1_Initialize (void)

    This routine initializes the OPA1 and must be called before any other OPA1 routine is called.

Detailed Description

This is the generated driver implementation file for the OPA1 driver.

OPA1 Generated Driver File

Version: OPA1 Driver Version 1.0.0

3.19.2.5.2 source/opa1.h File Reference

#include <stdbool.h>
#include <stdint.h>

Functions

  • void OPA1_Initialize (void)

    This routine initializes the OPA1 and must be called before any other OPA1 routine is called.

Detailed Description

OPA1 Generated Driver API Header File