MSP430 DriverLib for MSP430FR5xx_6xx Devices  2.91.13.01
hspll

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...
 

Detailed Description

Function Documentation

§ HSPLL_clearInterrupt()

void HSPLL_clearInterrupt ( uint16_t  baseAddress)

Clear HSPLL PLLUNLOCK interrupt.

!

Parameters
baseAddressis the base address of the HSPLL module.

Modified registers are HSPLLICR

Returns
None

§ HSPLL_disableInterrupt()

void HSPLL_disableInterrupt ( uint16_t  baseAddress)

Disable HSPLL PLLUNLOCK interrupt.

!

Parameters
baseAddressis the base address of the HSPLL module.

Modified registers are HSPLLIMSC

Returns
None

§ HSPLL_enableInterrupt()

void HSPLL_enableInterrupt ( uint16_t  baseAddress)

Enable HSPLL PLLUNLOCK interrupt.

!

Parameters
baseAddressis the base address of the HSPLL module.

Modified registers are HSPLLIMSC

Returns
None

§ HSPLL_getInterruptMaskStatus()

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.

Parameters
baseAddressis the base address of the HSPLL module.
Returns
HSPLL_PLL_STATE_UNCHANGED or HSPLL_PLL_STATE_CHANGED_LOCK_TO_UNLOCK

§ HSPLL_getInterruptStatus()

uint16_t HSPLL_getInterruptStatus ( uint16_t  baseAddress)

Returns the status of the selected interrupt flags.

Returns the status of the selected interrupt flag.

Parameters
baseAddressis the base address of the HSPLL module.
Returns
HSPLL_PLL_STATE_UNCHANGED or HSPLL_PLL_STATE_CHANGED_LOCK_TO_UNLOCK

§ HSPLL_getOscillatorStatus()

uint16_t HSPLL_getOscillatorStatus ( uint16_t  baseAddress)

Returns the oscillator status.

Returns the oscillator status

Parameters
baseAddressis the base address of the HSPLL module.
Returns
HSPLL_OSCILLATOR_NOT_STARTED or HSPLL_OSCILLATOR_STARTED

§ HSPLL_init()

void HSPLL_init ( uint16_t  baseAddress,
HSPLL_initParam param 
)

Initializes the HSPLL module.

Initializes the HSPLL module

Parameters
baseAddressis the base address of the HSPLL module.
paramsis the pointer to the initialization structure
Returns
None

References HSPLL_initParam::frequency, HSPLL_initParam::lockStatus, and HSPLL_initParam::multiplier.

§ HSPLL_isLocked()

uint16_t HSPLL_isLocked ( uint16_t  baseAddress)

Returns the PLL status.

Returns the PLL status

Parameters
baseAddressis the base address of the HSPLL module.
Returns
HSPLL_UNLOCKED or HSPLL_LOCKED

§ HSPLL_setInterrupt()

void HSPLL_setInterrupt ( uint16_t  baseAddress)

Set HSPLL PLLUNLOCK interrupt.

!

Parameters
baseAddressis the base address of the HSPLL module.

Modified registers are HSPLLISR

Returns
None

§ HSPLL_xtalInit()

void HSPLL_xtalInit ( uint16_t  baseAddress,
HSPLL_xtalInitParam param 
)

Initializes the HSPLL XTAL module.

Initializes the HSPLL XTAL module

Parameters
baseAddressis the base address of the HSPLL XTAL module.
paramsis the pointer to the initialization structure
Returns
None

References HSPLL_xtalInitParam::oscillatorEnable, HSPLL_xtalInitParam::oscillatorType, and HSPLL_xtalInitParam::xtlOutput.


Copyright 2020, Texas Instruments Incorporated