CC23x0R5DriverLibrary
[ckmd.h] Clock Management Controller
Collaboration diagram for [ckmd.h] Clock Management Controller:

Functions

__STATIC_INLINE void CKMDSetInitialCapTrim (uint32_t q1CapTrim, uint32_t q2CapTrim)
 Sets initial HFXT capacitor ramp trims. More...
 
__STATIC_INLINE void CKMDSetInitialQ1CapTrim (uint32_t q1Cap)
 Sets initial HFXT Q1 capacitor ramp trim. More...
 
__STATIC_INLINE void CKMDSetInitialQ2CapTrim (uint32_t q2Cap)
 Sets initial HFXT Q2 capacitor ramp trim. More...
 
__STATIC_INLINE void CKMDSetInitialIrefTrim (uint32_t iref)
 Sets initial HFXT IREF ramp trim. More...
 
__STATIC_INLINE void CKMDSetInitialIdacTrim (uint32_t idac)
 Sets initial HFXT IDAC ramp trim. More...
 
__STATIC_INLINE void CKMDSetInitialAmplitudeThresholdTrim (uint32_t amplitudeThreshold)
 Sets initial HFXT amplitude threshold ramp trim. More...
 
__STATIC_INLINE uint32_t CKMDGetInitialQ1CapTrim (void)
 Gets initial HFXT Q1 capacitor ramp trim. More...
 
__STATIC_INLINE uint32_t CKMDGetInitialQ2CapTrim (void)
 Gets initial HFXT Q2 capacitor ramp trim. More...
 
__STATIC_INLINE uint32_t CKMDGetInitialIrefTrim (void)
 Gets initial HFXT IREF ramp trim. More...
 
__STATIC_INLINE uint32_t CKMDGetInitialIdacTrim (void)
 Gets initial HFXT IDAC ramp trim. More...
 
__STATIC_INLINE uint32_t CKMDGetInitialAmplitudeThresholdTrim (void)
 Gets initial HFXT amplitude threshold ramp trim. More...
 
__STATIC_INLINE void CKMDSetTargetCapTrim (uint32_t q1CapTrim, uint32_t q2CapTrim)
 Sets target HFXT capacitor ramp trims. More...
 
__STATIC_INLINE void CKMDSetTargetQ1CapTrim (uint32_t q1Cap)
 Sets target HFXT Q1 capacitor ramp trim. More...
 
__STATIC_INLINE void CKMDSetTargetQ2CapTrim (uint32_t q2Cap)
 Sets target HFXT Q2 capacitor ramp trim. More...
 
__STATIC_INLINE void CKMDSetTargetIrefTrim (uint32_t iref)
 Sets target HFXT IREF ramp trim. More...
 
__STATIC_INLINE void CKMDSetTargetIdacTrim (uint32_t idac)
 Sets target HFXT IDAC ramp trim. More...
 
__STATIC_INLINE void CKMDSetTargetAmplitudeThresholdTrim (uint32_t amplitudeThreshold)
 Sets target HFXT amplitude threshold ramp trim. More...
 
__STATIC_INLINE uint32_t CKMDGetTargetQ1CapTrim (void)
 Gets target HFXT Q1 capacitor ramp trim. More...
 
__STATIC_INLINE uint32_t CKMDGetTargetQ2CapTrim (void)
 Gets target HFXT Q2 capacitor ramp trim. More...
 
__STATIC_INLINE uint32_t CKMDGetTargetIrefTrim (void)
 Gets target HFXT IREF ramp trim. More...
 
__STATIC_INLINE uint32_t CKMDGetTargetIdacTrim (void)
 Gets target HFXT IDAC ramp trim. More...
 
__STATIC_INLINE uint32_t CKMDGetTargetAmplitudeThresholdTrim (void)
 Gets target HFXT amplitude threshold ramp trim. More...
 

Detailed Description

Function Documentation

§ CKMDSetInitialCapTrim()

__STATIC_INLINE void CKMDSetInitialCapTrim ( uint32_t  q1CapTrim,
uint32_t  q2CapTrim 
)

Sets initial HFXT capacitor ramp trims.

This function sets the initial HFXT capacitor ramp trims. It will overwrite the initial HFXT ramp trim values set during startup.

This trim value is used when initially turning on the HFXT.

Note
The value for capTrim must be found experimentally based on the chosen crystal and desired ramp behaviour.
Parameters
q1CapTrimInitial Q1 capacitor trim.
q2CapTrimInitial Q2 capacitor trim.
Returns
None
See also
CKMD_O_HFXTINIT for trim range

References CKMD_BASE, CKMD_HFXTINIT_Q1CAP_M, CKMD_HFXTINIT_Q1CAP_S, CKMD_HFXTINIT_Q2CAP_M, CKMD_HFXTINIT_Q2CAP_S, CKMD_O_HFXTINIT, and HWREG.

§ CKMDSetInitialQ1CapTrim()

__STATIC_INLINE void CKMDSetInitialQ1CapTrim ( uint32_t  q1Cap)

Sets initial HFXT Q1 capacitor ramp trim.

This function sets the initial HFXT Q1 capacitor ramp trim. It will overwrite the initial HFXT ramp trim value set during startup.

This trim value is used when initially turning on the HFXT.

Note
The value for q1Cap must be found experimentally based on the chosen crystal and desired ramp behaviour.
Parameters
q1CapInitial Q1 capacitor trim.
Returns
None
See also
CKMD_O_HFXTINIT for trim range

References CKMD_BASE, CKMD_HFXTINIT_Q1CAP_M, CKMD_HFXTINIT_Q1CAP_S, CKMD_O_HFXTINIT, and HWREG.

§ CKMDSetInitialQ2CapTrim()

__STATIC_INLINE void CKMDSetInitialQ2CapTrim ( uint32_t  q2Cap)

Sets initial HFXT Q2 capacitor ramp trim.

This function sets the initial HFXT Q2 capacitor ramp trim. It will overwrite the initial HFXT ramp trim value set during startup.

This trim value is used when initially turning on the HFXT.

Note
The value for q2Cap must be found experimentally based on the chosen crystal and desired ramp behaviour.
Parameters
q2CapInitial Q2 capacitor trim.
Returns
None
See also
CKMD_O_HFXTINIT for trim range

References CKMD_BASE, CKMD_HFXTINIT_Q2CAP_M, CKMD_HFXTINIT_Q2CAP_S, CKMD_O_HFXTINIT, and HWREG.

§ CKMDSetInitialIrefTrim()

__STATIC_INLINE void CKMDSetInitialIrefTrim ( uint32_t  iref)

Sets initial HFXT IREF ramp trim.

This function sets initial HFXT IREF ramp trim. It will overwrite the initial HFXT ramp trim value set during startup.

This trim value is used when initially turning on the HFXT.

Note
The value for iref must be found experimentally based on the chosen crystal and desired ramp behaviour.
Parameters
irefInitial IREF trim.
Returns
None
See also
CKMD_O_HFXTINIT for trim range

References CKMD_BASE, CKMD_HFXTINIT_IREF_M, CKMD_HFXTINIT_IREF_S, CKMD_O_HFXTINIT, and HWREG.

§ CKMDSetInitialIdacTrim()

__STATIC_INLINE void CKMDSetInitialIdacTrim ( uint32_t  idac)

Sets initial HFXT IDAC ramp trim.

This function sets the initial HFXT IDAC ramp trim. It will overwrite the initial HFXT ramp trim value set during startup.

This trim value is used when initially turning on the HFXT.

Note
The value for idac must be found experimentally based on the chosen crystal and desired ramp behaviour.
Parameters
idacInitial IDAC trim.
Returns
None
See also
CKMD_O_HFXTINIT for trim range

References CKMD_BASE, CKMD_HFXTINIT_IDAC_M, CKMD_HFXTINIT_IDAC_S, CKMD_O_HFXTINIT, and HWREG.

§ CKMDSetInitialAmplitudeThresholdTrim()

__STATIC_INLINE void CKMDSetInitialAmplitudeThresholdTrim ( uint32_t  amplitudeThreshold)

Sets initial HFXT amplitude threshold ramp trim.

This function sets the initial HFXT amplitude threshold ramp trim. It will overwrite the initial HFXT ramp trim value set during startup.

This trim value is used when initially turning on the HFXT.

Note
The value for amplitudeThreshold must be found experimentally based on the chosen crystal and desired ramp behaviour.
Parameters
amplitudeThresholdInitial amplitude threshold trim.
Returns
None
See also
CKMD_O_HFXTINIT for trim range

References CKMD_BASE, CKMD_HFXTINIT_AMPTHR_M, CKMD_HFXTINIT_AMPTHR_S, CKMD_O_HFXTINIT, and HWREG.

§ CKMDGetInitialQ1CapTrim()

__STATIC_INLINE uint32_t CKMDGetInitialQ1CapTrim ( void  )

Gets initial HFXT Q1 capacitor ramp trim.

This function gets the initial HFXT Q1 capacitor ramp trim.

Returns
Initial Q1 capacitor trim.
See also
CKMD_O_HFXTINIT for trim range

References CKMD_BASE, CKMD_HFXTINIT_Q1CAP_M, CKMD_HFXTINIT_Q1CAP_S, CKMD_O_HFXTINIT, and HWREG.

§ CKMDGetInitialQ2CapTrim()

__STATIC_INLINE uint32_t CKMDGetInitialQ2CapTrim ( void  )

Gets initial HFXT Q2 capacitor ramp trim.

This function gets the initial HFXT Q2 capacitor ramp trim.

Returns
Initial Q2 capacitor trim.
See also
CKMD_O_HFXTINIT for trim range

References CKMD_BASE, CKMD_HFXTINIT_Q2CAP_M, CKMD_HFXTINIT_Q2CAP_S, CKMD_O_HFXTINIT, and HWREG.

§ CKMDGetInitialIrefTrim()

__STATIC_INLINE uint32_t CKMDGetInitialIrefTrim ( void  )

Gets initial HFXT IREF ramp trim.

This function gets the initial HFXT IREF ramp trim.

Returns
Initial IREF trim.
See also
CKMD_O_HFXTINIT for trim range

References CKMD_BASE, CKMD_HFXTINIT_IREF_M, CKMD_HFXTINIT_IREF_S, CKMD_O_HFXTINIT, and HWREG.

§ CKMDGetInitialIdacTrim()

__STATIC_INLINE uint32_t CKMDGetInitialIdacTrim ( void  )

Gets initial HFXT IDAC ramp trim.

This function gets the initial HFXT IDAC ramp trim.

Returns
Initial IDAC trim.
See also
CKMD_O_HFXTINIT for trim range

References CKMD_BASE, CKMD_HFXTINIT_IDAC_M, CKMD_HFXTINIT_IDAC_S, CKMD_O_HFXTINIT, and HWREG.

§ CKMDGetInitialAmplitudeThresholdTrim()

__STATIC_INLINE uint32_t CKMDGetInitialAmplitudeThresholdTrim ( void  )

Gets initial HFXT amplitude threshold ramp trim.

This function initial HFXT amplitude threshold ramp trim.

Returns
Initial amplitude threshold trim.
See also
CKMD_O_HFXTINIT for trim range

References CKMD_BASE, CKMD_HFXTINIT_AMPTHR_M, CKMD_HFXTINIT_AMPTHR_S, CKMD_O_HFXTINIT, and HWREG.

§ CKMDSetTargetCapTrim()

__STATIC_INLINE void CKMDSetTargetCapTrim ( uint32_t  q1CapTrim,
uint32_t  q2CapTrim 
)

Sets target HFXT capacitor ramp trims.

This function sets the target HFXT capacitor ramp trims. It will overwrite the target HFXT ramp trim values set during startup.

This trim value is used when target turning on the HFXT.

Note
The value for capTrim must be found experimentally based on the chosen crystal and desired ramp behaviour.
Parameters
q1CapTrimTarget Q1 capacitor trim.
q2CapTrimTarget Q2 capacitor trim.
Returns
None
See also
CKMD_O_HFXTTARG for trim range

References CKMD_BASE, CKMD_HFXTTARG_Q1CAP_M, CKMD_HFXTTARG_Q1CAP_S, CKMD_HFXTTARG_Q2CAP_M, CKMD_HFXTTARG_Q2CAP_S, CKMD_O_HFXTTARG, and HWREG.

§ CKMDSetTargetQ1CapTrim()

__STATIC_INLINE void CKMDSetTargetQ1CapTrim ( uint32_t  q1Cap)

Sets target HFXT Q1 capacitor ramp trim.

This function target HFXT Q1 capacitor ramp trim. It will overwrite the target HFXT ramp trim value set during startup.

This trim value is used after HFXT has ramped to change crystal performance.

Note
The value for q1Cap must be found experimentally based on the chosen crystal and desired ramp behaviour.
Parameters
q1CapTarget Q1 capacitor trim.
Returns
None

References CKMD_BASE, CKMD_HFXTTARG_Q1CAP_M, CKMD_HFXTTARG_Q1CAP_S, CKMD_O_HFXTTARG, and HWREG.

§ CKMDSetTargetQ2CapTrim()

__STATIC_INLINE void CKMDSetTargetQ2CapTrim ( uint32_t  q2Cap)

Sets target HFXT Q2 capacitor ramp trim.

This function target HFXT Q2 capacitor ramp trim. It will overwrite the target HFXT ramp trim value set during startup.

This trim value is used after HFXT has ramped to change crystal performance.

Note
The value for q2Cap must be found experimentally based on the chosen crystal and desired ramp behaviour.
Parameters
q2CapTarget Q2 capacitor trim.
Returns
None

References CKMD_BASE, CKMD_HFXTTARG_Q2CAP_M, CKMD_HFXTTARG_Q2CAP_S, CKMD_O_HFXTTARG, and HWREG.

§ CKMDSetTargetIrefTrim()

__STATIC_INLINE void CKMDSetTargetIrefTrim ( uint32_t  iref)

Sets target HFXT IREF ramp trim.

This function target HFXT IREF ramp trim. It will overwrite the target HFXT ramp trim value set during startup.

This trim value is used after HFXT has ramped to change crystal performance.

Note
The value for iref must be found experimentally based on the chosen crystal and desired ramp behaviour.
Parameters
irefTarget IREF trim.
Returns
None

References CKMD_BASE, CKMD_HFXTTARG_IREF_M, CKMD_HFXTTARG_IREF_S, CKMD_O_HFXTTARG, and HWREG.

§ CKMDSetTargetIdacTrim()

__STATIC_INLINE void CKMDSetTargetIdacTrim ( uint32_t  idac)

Sets target HFXT IDAC ramp trim.

This function target HFXT IDAC ramp trim. It will overwrite the target HFXT ramp trim value set during startup.

This trim value is used after HFXT has ramped to change crystal performance.

Note
The value for idac must be found experimentally based on the chosen crystal and desired ramp behaviour.
Parameters
idacTarget IDAC trim.
Returns
None

References CKMD_BASE, CKMD_HFXTTARG_IDAC_M, CKMD_HFXTTARG_IDAC_S, CKMD_O_HFXTTARG, and HWREG.

§ CKMDSetTargetAmplitudeThresholdTrim()

__STATIC_INLINE void CKMDSetTargetAmplitudeThresholdTrim ( uint32_t  amplitudeThreshold)

Sets target HFXT amplitude threshold ramp trim.

This function target HFXT amplitude threshold ramp trim. It will overwrite the target HFXT ramp trim value set during startup.

This trim value is used after HFXT has ramped to change crystal performance.

Note
The value for amplitudeThreshold must be found experimentally based on the chosen crystal and desired ramp behaviour.
Parameters
amplitudeThresholdTarget amplitude threshold trim.
Returns
None

References CKMD_BASE, CKMD_HFXTTARG_AMPTHR_M, CKMD_HFXTTARG_AMPTHR_S, CKMD_O_HFXTTARG, and HWREG.

§ CKMDGetTargetQ1CapTrim()

__STATIC_INLINE uint32_t CKMDGetTargetQ1CapTrim ( void  )

Gets target HFXT Q1 capacitor ramp trim.

This function gets the target HFXT Q1 capacitor ramp trim.

Returns
Target Q1 capacitor trim.
See also
CKMD_O_HFXTTARG for trim range

References CKMD_BASE, CKMD_HFXTTARG_Q1CAP_M, CKMD_HFXTTARG_Q1CAP_S, CKMD_O_HFXTTARG, and HWREG.

§ CKMDGetTargetQ2CapTrim()

__STATIC_INLINE uint32_t CKMDGetTargetQ2CapTrim ( void  )

Gets target HFXT Q2 capacitor ramp trim.

This function gets the target HFXT Q2 capacitor ramp trim.

Returns
Target Q2 capacitor trim.
See also
CKMD_O_HFXTTARG for trim range

References CKMD_BASE, CKMD_HFXTTARG_Q2CAP_M, CKMD_HFXTTARG_Q2CAP_S, CKMD_O_HFXTTARG, and HWREG.

§ CKMDGetTargetIrefTrim()

__STATIC_INLINE uint32_t CKMDGetTargetIrefTrim ( void  )

Gets target HFXT IREF ramp trim.

This function gets the target HFXT IREF ramp trim.

Returns
Target IREF trim.
See also
CKMD_O_HFXTTARG for trim range

References CKMD_BASE, CKMD_HFXTTARG_IREF_M, CKMD_HFXTTARG_IREF_S, CKMD_O_HFXTTARG, and HWREG.

§ CKMDGetTargetIdacTrim()

__STATIC_INLINE uint32_t CKMDGetTargetIdacTrim ( void  )

Gets target HFXT IDAC ramp trim.

This function gets the target HFXT IDAC ramp trim.

Returns
Target IDAC trim.
See also
CKMD_O_HFXTTARG for trim range

References CKMD_BASE, CKMD_HFXTTARG_IDAC_M, CKMD_HFXTTARG_IDAC_S, CKMD_O_HFXTTARG, and HWREG.

§ CKMDGetTargetAmplitudeThresholdTrim()

__STATIC_INLINE uint32_t CKMDGetTargetAmplitudeThresholdTrim ( void  )

Gets target HFXT amplitude threshold ramp trim.

This function target HFXT amplitude threshold ramp trim.

Returns
Target amplitude threshold trim.
See also
CKMD_O_HFXTTARG for trim range

References CKMD_BASE, CKMD_HFXTTARG_AMPTHR_M, CKMD_HFXTTARG_AMPTHR_S, CKMD_O_HFXTTARG, and HWREG.