4.19.1 OPAMP

Operational Amplifier

4.19.1.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.

4.19.1.2 Supported Device Families

PIC16F170x PIC16F171x PIC16F178x

4.19.1.3 Required header files

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

4.19.1.4 Module Documentation

4.19.1.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

4.19.1.5 File Documentation

4.19.1.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

4.19.1.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