270 pll->
PLLCR = clkFreq;
void PLL_disableClkDetect(PLL_Handle pllHandle)
Disables the clock detect logic.
#define DISABLE_PROTECTED_REGISTER_WRITE_MODE
Define to disable protected register writes.
#define PLL_PLLSTS_MCLKOFF_BITS
Defines the location of the MCLKOFF bits in the PLLSTS register.
#define PLL_PLLSTS_PLLLOCKS_BITS
Defines the location of the PLLLOCKS bits in the PLLSTS register.
#define PLL_PLLSTS_NORMRDYE_BITS
Defines the location of the NORMRDYE bits in the PLLSTS register.
void PLL_enable(PLL_Handle pllHandle)
Enables the phase lock loop (PLL)
volatile uint16_t PLLSTS
PLL Status Register.
#define PLL_PLLSTS_OSCOFF_BITS
Defines the location of the OSCOFF bits in the PLLSTS register.
PLL_LockStatus_e PLL_getLockStatus(PLL_Handle pllHandle)
Gets the phase lock loop (PLL) lock status.
void PLL_disableNormRdy(PLL_Handle pllHandle)
Disables the NORMRDY signal.
#define PLL_PLLSTS_MCLKCLR_BITS
Defines the location of the MCLKCLR bits in the PLLSTS register.
PLL_ClkStatus_e PLL_getClkStatus(PLL_Handle pllHandle)
Gets the phase lock loop (PLL) clock status.
void PLL_disable(PLL_Handle pllHandle)
Disables the phase lock loop (PLL)
#define ENABLE_PROTECTED_REGISTER_WRITE_MODE
Define to allow protected register writes.
void PLL_setDivideSelect(PLL_Handle pllHandle, const PLL_DivideSelect_e divSelect)
Sets the phase lock loop (PLL) divide select value.
PLL_ClkFreq_e PLL_getClkFreq(PLL_Handle pllHandle)
Gets the phase lock loop (PLL) clock frequency.
void PLL_disableOsc(PLL_Handle pllHandle)
Disables the oscillator.
void PLL_enableNormRdy(PLL_Handle pllHandle)
Enables the NORMRDY signal.
struct _PLL_Obj_ * PLL_Handle
Defines the phase lock loop (PLL) handle.
void PLL_enableClkDetect(PLL_Handle pllHandle)
Enables the clock detect logic.
Contains public interface to various functions related to the phase-locked loop (PLL) object...
Defines the phase lock loop (PLL) object.
void PLL_setClkFreq(PLL_Handle pllHandle, const PLL_ClkFreq_e clkFreq)
Sets the phase lock loop (PLL) clock frequency.
PLL_ClkFreq_e
Enumeration to define the phase lock loop (PLL) clock frequency.
PLL_DivideSelect_e
Enumeration to define the phase lock loop (PLL) divide select.
#define PLL_PLLSTS_PLLOFF_BITS
Defines the location of the PLLOFF bits in the PLLSTS register.
PLL_DivideSelect_e PLL_getDivideSelect(PLL_Handle pllHandle)
Gets the phase lock loop (PLL) divide select value.
#define PLL_PLLCR_DIV_BITS
Defines the location of the DIV bits in the PLLCR register.
void PLL_setLockPeriod(PLL_Handle pllHandle, const uint16_t lockPeriod)
Sets the phase lock loop (PLL) lock time.
volatile uint16_t PLLLOCKPRD
PLL Lock Period Register.
PLL_Handle PLL_init(void *pMemory, const size_t numBytes)
Initializes the phase lock loop (PLL) object handle.
#define PLL_PLLSTS_MCLKSTS_BITS
Defines the location of the MCLKSTS bits in the PLLSTS register.
volatile uint16_t PLLCR
PLL Control Register.
void PLL_resetClkDetect(PLL_Handle pllHandle)
Resets the phase lock loop (PLL) clock detect logic.
#define PLL_PLLSTS_DIVSEL_BITS
Defines the location of the DIVSEL bits in the PLLSTS register.
PLL_LockStatus_e
Enumeration to define the phase lock loop (PLL) clock lock status.
PLL_ClkStatus_e
Enumeration to define the phase lock loop (PLL) clock status.
void PLL_enableOsc(PLL_Handle pllHandle)
Enables the oscillator.