MCUXpresso SDK API Reference Manual  Rev 2.16.000
NXP Semiconductors
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
OPAMP Peripheral and Driver Overview

Content including 1) peripheral features, work logic and work method; 2) driver design logic and use method. More...

Peripheral features and how this peripheral works

The Operational Amplifier (OPAMP) module supports flexible amplifier application.

Features

How this peripheral works

  1. Configure OPAMP output pin and input pin according to use case.
  2. Set the control register, the configuration sets to use, power mode, load mode, and so on.
  3. Set the configuartion register, the configuration sets to use, Gain Multiplier, inverting and non-inverting input selection, and so on.
  4. Enable the configuration load.
  5. Enable OPAMP and start work.

How this driver is designed to make this peripheral works

With OPAMP_Init, the OPAMP module could be set to a defined state and starts to work.

OPAMP driver provides methods to configure the OPAMP module:

  1. Whole module configuration update by OPAMP_Init. This function sets all configurations and enables the configuration load, the new configuration is loaded at the time determined by load mode.

OPAMP driver also provides APIs to get and clear configuration load completion flags.

How to use this driver

Typical Use Case