MG32L003 Standard Peripherals Firmware Library
Functions
mg32l003_vcmp.c File Reference

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

#include "mg32l003_vcmp.h"
#include "mg32l003_rcc.h"

Functions

void VCMP_DeInit (void)
 Deinitializes the VCMP peripheral. More...
 
void VCMP_Init (VCMP_InitTypeDef *InitStruct)
 Initializes the VCMP according to the specified parameters in the VCMP_HandleTypeDef. More...
 
void VCMP_ITConfig (uint32_t VCMP_INT, FunctionalState NewState)
 Enables or disables the specified VCMP interrupts. More...
 
void VCMP_ITCmd (FunctionalState NewState)
 Enables or disables VCMP interrupt. More...
 
void VCMP_OutputConfig (uint32_t OutputConfig, FunctionalState NewState)
 Enables or disables the specified VCMP outputs. More...
 
FlagStatus VCMP_GetFlagStatus (void)
 Checks whether VCMP interrupt flag is set or reset. More...
 
ITStatus VCMP_GetITStatus (void)
 Checks whether VCMP interrupt is set or reset. More...
 
void VCMP_ClearFlag (void)
 Clears VCMP interrupt flag. More...
 
void VCMP_ClearITPendingBit (void)
 Clears VCMP interrupt. More...
 
FlagStatus VCMP_GetOutputStatus (void)
 Checks VCMP output is set or reset. More...
 
void VCMP_Cmd (FunctionalState NewState)
 Enables or disables VCMP peripheral(write access to VCMP_CR1 registers). More...
 

Detailed Description

This file provides all the VCMP firmware functions.

Author
megawin Application Team
Version
V0.0.5
Date
13-August-2024