MG32F157 Standard Peripherals Firmware Library
Macros | Functions
mg32f157_opa.c File Reference

This file provides all the OPA firmware functions. More...

#include "mg32f157_opa.h"

Macros

#define OPA_Set   ((uint32_t)0x00000001)
 
#define OPA_Reset   ((uint32_t)0x00000000)
 
#define IS_OPA_ALL_OPA(OPAx)   (((OPAx) == OPA1) || ((OPAx) == OPA2) || ((OPAx) == OPA3))
 

Functions

void OPA_DeInit (OPA_TypeDef *OPAx)
 Deinitializes the specified OPAx peripheral register to default reset value. More...
 
void OPA_Cmd (OPA_TypeDef *OPAx, FunctionalState NewState)
 Enables or disables the specified OPA. More...
 

Detailed Description

This file provides all the OPA firmware functions.

Author
MegawinTech Application Team
Version
V0.0.4
Date
16-June-2023