MG32L003 Standard Peripherals Firmware Library
|
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... | |
void VCMP_ClearFlag | ( | void | ) |
Clears VCMP interrupt flag.
None |
None |
void VCMP_ClearITPendingBit | ( | void | ) |
Clears VCMP interrupt.
None |
None |
void VCMP_Cmd | ( | FunctionalState | NewState | ) |
Enables or disables VCMP peripheral(write access to VCMP_CR1 registers).
NewState | The new state of the VCMP peripheral. This parameter can be: ENABLE or DISABLE. |
None |
void VCMP_DeInit | ( | void | ) |
Deinitializes the VCMP peripheral.
None |
None |
FlagStatus VCMP_GetFlagStatus | ( | void | ) |
Checks whether VCMP interrupt flag is set or reset.
None |
The | new state of VCMP interrupt flag (SET or RESET). |
ITStatus VCMP_GetITStatus | ( | void | ) |
Checks whether VCMP interrupt is set or reset.
None |
The | new state of VCMP interrupt(SET or RESET). |
FlagStatus VCMP_GetOutputStatus | ( | void | ) |
Checks VCMP output is set or reset.
None |
The | new state of VCMP_OUTPUT (SET or RESET). |
void VCMP_Init | ( | VCMP_InitTypeDef * | InitStruct | ) |
Initializes the VCMP according to the specified parameters in the VCMP_HandleTypeDef.
InitStruct | Pointer to a VCMP_InitTypeDef structure that contains the configuration information for the specified VCMP module. |
None |
void VCMP_ITCmd | ( | FunctionalState | NewState | ) |
Enables or disables VCMP interrupt.
NewState | The new state of the VCMP interrupt. This parameter can be: ENABLE or DISABLE. |
None |
void VCMP_ITConfig | ( | uint32_t | VCMP_INT, |
FunctionalState | NewState | ||
) |
Enables or disables the specified VCMP interrupts.
VCMP_INT | VCMP interrupt configuration This parameter can be any combination of the following values;
|
NewState | The new state of the specifed VCMP interrupt. This parameter can be: ENABLE or DISABLE. |
None |
void VCMP_OutputConfig | ( | uint32_t | OutputConfig, |
FunctionalState | NewState | ||
) |
Enables or disables the specified VCMP outputs.
OutputConfig | VCMP output configuration This parameter can be any combination of the following values:
|
NewState | The new state of the specified VCMP outputs. This parameter can be: ENABLE or DISABLE. |
None |