M480 BSP V3.05.006
The Board Support Package for M480 Series
Macros | Functions
opa.h File Reference

M480 series OPA driver header file. More...

Go to the source code of this file.

Macros

#define OPA_CALIBRATION_CLK_1K
 
#define OPA_CALIBRATION_RV_1_2_AVDD
 
#define OPA_CALIBRATION_RV_H_L_VCM
 
#define OPA_POWER_ON(opa, u32OpaNum)
 This macro is used to power on the OPA circuit. More...
 
#define OPA_POWER_DOWN(opa, u32OpaNum)
 This macro is used to power down the OPA circuit. More...
 
#define OPA_ENABLE_SCH_TRIGGER(opa, u32OpaNum)
 This macro is used to enable the OPA Schmitt trigger buffer. More...
 
#define OPA_DISABLE_SCH_TRIGGER(opa, u32OpaNum)
 This macro is used to disable the OPA Schmitt trigger buffer. More...
 
#define OPA_ENABLE_INT(opa, u32OpaNum)
 This macro is used to enable OPA Schmitt trigger digital output interrupt. More...
 
#define OPA_DISABLE_INT(opa, u32OpaNum)
 This macro is used to disable OPA Schmitt trigger digital output interrupt. More...
 
#define OPA_GET_DIGITAL_OUTPUT(opa, u32OpaNum)
 This macro is used to get OPA digital output state. More...
 
#define OPA_GET_INT_FLAG(opa, u32OpaNum)
 This macro is used to get OPA interrupt flag. More...
 
#define OPA_CLR_INT_FLAG(opa, u32OpaNum)
 This macro is used to clear OPA interrupt flag. More...
 
#define OPA_Reset()
 This macro is used to generate asynchronous reset signals to OPA controller. More...
 

Functions

__STATIC_INLINE int32_t OPA_Calibration (OPA_T *opa, uint32_t u32OpaNum, uint32_t u32ClockSel, uint32_t u32RefVol)
 This function is used to configure and start OPA calibration. More...
 

Detailed Description

M480 series OPA driver header file.

Version
V3.00

SPDX-License-Identifier: Apache-2.0

Definition in file opa.h.