MG32F157 Standard Peripherals Firmware Library
mg32f157_opa.h
Go to the documentation of this file.
1 
10 /* Define to prevent recursive inclusion -------------------------------------*/
11 #ifndef __MG32F157_OPA_H
12 #define __MG32F157_OPA_H
13 
14 #ifdef __cplusplus
15  extern "C" {
16 #endif
17 
18 /* Includes ------------------------------------------------------------------*/
19 #include "mg32f157.h"
20 
29 /* Exported types ------------------------------------------------------------*/
30 /* Exported constants --------------------------------------------------------*/
31 /* Exported macro ------------------------------------------------------------*/
32 /* Exported functions --------------------------------------------------------*/
33 
34 void OPA_DeInit(OPA_TypeDef* OPAx);
35 void OPA_Cmd(OPA_TypeDef* OPAx, FunctionalState NewState);
36 
45 #ifdef __cplusplus
46 }
47 #endif
48 
49 #endif /* __MG32F157_OPA_H */
void OPA_DeInit(OPA_TypeDef *OPAx)
Deinitializes the specified OPAx peripheral register to default reset value.
Definition: mg32f157_opa.c:51
void OPA_Cmd(OPA_TypeDef *OPAx, FunctionalState NewState)
Enables or disables the specified OPA.
Definition: mg32f157_opa.c:66
Definition: mg32f157.h:398