Functions | |
void | HSPLL_init (uint16_t baseAddress, HSPLL_initParam *param) |
Initializes the HSPLL module. More... | |
void | HSPLL_xtalInit (uint16_t baseAddress, HSPLL_xtalInitParam *param) |
Initializes the HSPLL XTAL module. More... | |
uint16_t | HSPLL_getInterruptStatus (uint16_t baseAddress) |
Returns the status of the selected interrupt flags. More... | |
uint16_t | HSPLL_getInterruptMaskStatus (uint16_t baseAddress) |
Returns the mask status of the selected interrupt flags. More... | |
void | HSPLL_enableInterrupt (uint16_t baseAddress) |
Enable HSPLL PLLUNLOCK interrupt. More... | |
void | HSPLL_disableInterrupt (uint16_t baseAddress) |
Disable HSPLL PLLUNLOCK interrupt. More... | |
void | HSPLL_clearInterrupt (uint16_t baseAddress) |
Clear HSPLL PLLUNLOCK interrupt. More... | |
void | HSPLL_setInterrupt (uint16_t baseAddress) |
Set HSPLL PLLUNLOCK interrupt. More... | |
uint16_t | HSPLL_getOscillatorStatus (uint16_t baseAddress) |
Returns the oscillator status. More... | |
uint16_t | HSPLL_isLocked (uint16_t baseAddress) |
Returns the PLL status. More... | |
void HSPLL_clearInterrupt | ( | uint16_t | baseAddress | ) |
Clear HSPLL PLLUNLOCK interrupt.
!
baseAddress | is the base address of the HSPLL module. |
Modified registers are HSPLLICR
void HSPLL_disableInterrupt | ( | uint16_t | baseAddress | ) |
Disable HSPLL PLLUNLOCK interrupt.
!
baseAddress | is the base address of the HSPLL module. |
Modified registers are HSPLLIMSC
void HSPLL_enableInterrupt | ( | uint16_t | baseAddress | ) |
Enable HSPLL PLLUNLOCK interrupt.
!
baseAddress | is the base address of the HSPLL module. |
Modified registers are HSPLLIMSC
uint16_t HSPLL_getInterruptMaskStatus | ( | uint16_t | baseAddress | ) |
Returns the mask status of the selected interrupt flags.
Returns the mask status of the selected interrupt flag.
baseAddress | is the base address of the HSPLL module. |
uint16_t HSPLL_getInterruptStatus | ( | uint16_t | baseAddress | ) |
Returns the status of the selected interrupt flags.
Returns the status of the selected interrupt flag.
baseAddress | is the base address of the HSPLL module. |
uint16_t HSPLL_getOscillatorStatus | ( | uint16_t | baseAddress | ) |
Returns the oscillator status.
Returns the oscillator status
baseAddress | is the base address of the HSPLL module. |
void HSPLL_init | ( | uint16_t | baseAddress, |
HSPLL_initParam * | param | ||
) |
Initializes the HSPLL module.
Initializes the HSPLL module
baseAddress | is the base address of the HSPLL module. |
params | is the pointer to the initialization structure |
References HSPLL_initParam::frequency, HSPLL_initParam::lockStatus, and HSPLL_initParam::multiplier.
uint16_t HSPLL_isLocked | ( | uint16_t | baseAddress | ) |
Returns the PLL status.
Returns the PLL status
baseAddress | is the base address of the HSPLL module. |
void HSPLL_setInterrupt | ( | uint16_t | baseAddress | ) |
Set HSPLL PLLUNLOCK interrupt.
!
baseAddress | is the base address of the HSPLL module. |
Modified registers are HSPLLISR
void HSPLL_xtalInit | ( | uint16_t | baseAddress, |
HSPLL_xtalInitParam * | param | ||
) |
Initializes the HSPLL XTAL module.
Initializes the HSPLL XTAL module
baseAddress | is the base address of the HSPLL XTAL module. |
params | is the pointer to the initialization structure |
References HSPLL_xtalInitParam::oscillatorEnable, HSPLL_xtalInitParam::oscillatorType, and HSPLL_xtalInitParam::xtlOutput.