MG32F10x Standard Peripherals Firmware Library
|
This file provides all the ANCTL firmware functions. More...
#include "mg32f10x_anctl.h"
Functions | |
void | ANCTL_MHSICmd (FunctionalState NewState) |
Enables or disables the Internal 8MHz oscillator (MHSI). More... | |
void | ANCTL_FHSICmd (FunctionalState NewState) |
Enables or disables the Internal 48MHz oscillator (FHSI). More... | |
void | ANCTL_LSICmd (FunctionalState NewState) |
Enables or disables the Internal Low Speed oscillator (LSI). More... | |
void | ANCTL_HSEConfig (uint32_t ANCTL_HSE) |
Configures the External High Speed oscillator (HSE). More... | |
ErrorStatus | ANCTL_WaitForHSEStartUp (void) |
Waits for HSE start-up. More... | |
void | ANCTL_PLLConfig (uint32_t ANCTL_PLLMul) |
Configures the PLL multiplication factor. More... | |
void | ANCTL_PLLCmd (FunctionalState NewState) |
Enables or disables the PLL. More... | |
FlagStatus | ANCTL_GetFlagStatus (uint16_t ANCTL_FLAG) |
Checks whether the specified ANCTL flag is set or not. More... | |
void | ANCTL_PVDLevelConfig (uint32_t ANCTL_PVDLevel) |
Configures the voltage threshold detected by the Power Voltage Detector(PVD). More... | |
void | ANCTL_PVDCmd (FunctionalState NewState) |
Enables or disables the Power Voltage Detector (PVD). More... | |
void | ANCTL_SARADCCmd (FunctionalState NewState) |
Enables or disables the SAR ADC. More... | |
void | ANCTL_USBPHYDeInit (void) |
Deinitializes the USB PHY register to default reset values. More... | |
void | ANCTL_USBPHYConfig (uint32_t ANCTL_USBPHY, FunctionalState NewState) |
Configures the USB PHY function. More... | |
void | ANCTL_USBPHYCmd (FunctionalState NewState) |
Enables or disables the USB PHY. More... | |
void | ANCTL_PORCmd (FunctionalState NewState) |
Enables or disables the Power-on Reset function. More... | |
void | ANCTL_CMPAConfig (uint32_t CMPA_PSEL, uint32_t CMPA_NSEL) |
Configures the Comparator A. More... | |
void | ANCTL_CMPACmd (FunctionalState NewState) |
Enables or disables the Comparator A. More... | |
uint32_t | ANCTL_CMPAGetOutputLevel (void) |
Returns the Comparator A output level. More... | |
void | ANCTL_CMPBConfig (uint32_t CMPB_PSEL, uint32_t CMPB_NSEL) |
Configures the Comparator B. More... | |
void | ANCTL_CMPBCmd (FunctionalState NewState) |
Enables or disables the Comparator B. More... | |
uint32_t | ANCTL_CMPBGetOutputLevel (void) |
Returns the Comparator B output level. More... | |
void | ANCTL_ITConfig (uint8_t ANCTL_IT, FunctionalState NewState) |
Enables or disables the specified ANCTL interrupts. More... | |
ITStatus | ANCTL_GetITStatus (uint8_t ANCTL_IT) |
Checks whether the specified ANCTL interrupt has occurred or not. More... | |
void | ANCTL_ClearITPendingBit (uint8_t ANCTL_IT) |
Clears the ANCTL's interrupt pending bits. More... | |
void | ANCTL_ClockSecuritySystemCmd (FunctionalState NewState) |
Enables or disables the Clock Security System. More... | |
This file provides all the ANCTL firmware functions.