![]() |
![]() |
|
CC23x0R5DriverLibrary
|
|
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... | |
| __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.
capTrim must be found experimentally based on the chosen crystal and desired ramp behaviour.| q1CapTrim | Initial Q1 capacitor trim. |
| q2CapTrim | Initial Q2 capacitor trim. |
References CKMD_BASE, CKMD_HFXTINIT_Q1CAP_M, CKMD_HFXTINIT_Q1CAP_S, CKMD_HFXTINIT_Q2CAP_M, CKMD_HFXTINIT_Q2CAP_S, CKMD_O_HFXTINIT, and HWREG.
| __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.
q1Cap must be found experimentally based on the chosen crystal and desired ramp behaviour.| q1Cap | Initial Q1 capacitor trim. |
References CKMD_BASE, CKMD_HFXTINIT_Q1CAP_M, CKMD_HFXTINIT_Q1CAP_S, CKMD_O_HFXTINIT, and HWREG.
| __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.
q2Cap must be found experimentally based on the chosen crystal and desired ramp behaviour.| q2Cap | Initial Q2 capacitor trim. |
References CKMD_BASE, CKMD_HFXTINIT_Q2CAP_M, CKMD_HFXTINIT_Q2CAP_S, CKMD_O_HFXTINIT, and HWREG.
| __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.
iref must be found experimentally based on the chosen crystal and desired ramp behaviour.| iref | Initial IREF trim. |
References CKMD_BASE, CKMD_HFXTINIT_IREF_M, CKMD_HFXTINIT_IREF_S, CKMD_O_HFXTINIT, and HWREG.
| __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.
idac must be found experimentally based on the chosen crystal and desired ramp behaviour.| idac | Initial IDAC trim. |
References CKMD_BASE, CKMD_HFXTINIT_IDAC_M, CKMD_HFXTINIT_IDAC_S, CKMD_O_HFXTINIT, and HWREG.
| __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.
amplitudeThreshold must be found experimentally based on the chosen crystal and desired ramp behaviour.| amplitudeThreshold | Initial amplitude threshold trim. |
References CKMD_BASE, CKMD_HFXTINIT_AMPTHR_M, CKMD_HFXTINIT_AMPTHR_S, CKMD_O_HFXTINIT, and HWREG.
| __STATIC_INLINE uint32_t CKMDGetInitialQ1CapTrim | ( | void | ) |
Gets initial HFXT Q1 capacitor ramp trim.
This function gets the initial HFXT Q1 capacitor ramp trim.
References CKMD_BASE, CKMD_HFXTINIT_Q1CAP_M, CKMD_HFXTINIT_Q1CAP_S, CKMD_O_HFXTINIT, and HWREG.
| __STATIC_INLINE uint32_t CKMDGetInitialQ2CapTrim | ( | void | ) |
Gets initial HFXT Q2 capacitor ramp trim.
This function gets the initial HFXT Q2 capacitor ramp trim.
References CKMD_BASE, CKMD_HFXTINIT_Q2CAP_M, CKMD_HFXTINIT_Q2CAP_S, CKMD_O_HFXTINIT, and HWREG.
| __STATIC_INLINE uint32_t CKMDGetInitialIrefTrim | ( | void | ) |
Gets initial HFXT IREF ramp trim.
This function gets the initial HFXT IREF ramp trim.
References CKMD_BASE, CKMD_HFXTINIT_IREF_M, CKMD_HFXTINIT_IREF_S, CKMD_O_HFXTINIT, and HWREG.
| __STATIC_INLINE uint32_t CKMDGetInitialIdacTrim | ( | void | ) |
Gets initial HFXT IDAC ramp trim.
This function gets the initial HFXT IDAC ramp trim.
References CKMD_BASE, CKMD_HFXTINIT_IDAC_M, CKMD_HFXTINIT_IDAC_S, CKMD_O_HFXTINIT, and HWREG.
| __STATIC_INLINE uint32_t CKMDGetInitialAmplitudeThresholdTrim | ( | void | ) |
Gets initial HFXT amplitude threshold ramp trim.
This function initial HFXT amplitude threshold ramp trim.
References CKMD_BASE, CKMD_HFXTINIT_AMPTHR_M, CKMD_HFXTINIT_AMPTHR_S, CKMD_O_HFXTINIT, and HWREG.
| __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.
capTrim must be found experimentally based on the chosen crystal and desired ramp behaviour.| q1CapTrim | Target Q1 capacitor trim. |
| q2CapTrim | Target Q2 capacitor trim. |
References CKMD_BASE, CKMD_HFXTTARG_Q1CAP_M, CKMD_HFXTTARG_Q1CAP_S, CKMD_HFXTTARG_Q2CAP_M, CKMD_HFXTTARG_Q2CAP_S, CKMD_O_HFXTTARG, and HWREG.
| __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.
q1Cap must be found experimentally based on the chosen crystal and desired ramp behaviour.| q1Cap | Target Q1 capacitor trim. |
References CKMD_BASE, CKMD_HFXTTARG_Q1CAP_M, CKMD_HFXTTARG_Q1CAP_S, CKMD_O_HFXTTARG, and HWREG.
| __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.
q2Cap must be found experimentally based on the chosen crystal and desired ramp behaviour.| q2Cap | Target Q2 capacitor trim. |
References CKMD_BASE, CKMD_HFXTTARG_Q2CAP_M, CKMD_HFXTTARG_Q2CAP_S, CKMD_O_HFXTTARG, and HWREG.
| __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.
iref must be found experimentally based on the chosen crystal and desired ramp behaviour.| iref | Target IREF trim. |
References CKMD_BASE, CKMD_HFXTTARG_IREF_M, CKMD_HFXTTARG_IREF_S, CKMD_O_HFXTTARG, and HWREG.
| __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.
idac must be found experimentally based on the chosen crystal and desired ramp behaviour.| idac | Target IDAC trim. |
References CKMD_BASE, CKMD_HFXTTARG_IDAC_M, CKMD_HFXTTARG_IDAC_S, CKMD_O_HFXTTARG, and HWREG.
| __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.
amplitudeThreshold must be found experimentally based on the chosen crystal and desired ramp behaviour.| amplitudeThreshold | Target amplitude threshold trim. |
References CKMD_BASE, CKMD_HFXTTARG_AMPTHR_M, CKMD_HFXTTARG_AMPTHR_S, CKMD_O_HFXTTARG, and HWREG.
| __STATIC_INLINE uint32_t CKMDGetTargetQ1CapTrim | ( | void | ) |
Gets target HFXT Q1 capacitor ramp trim.
This function gets the target HFXT Q1 capacitor ramp trim.
References CKMD_BASE, CKMD_HFXTTARG_Q1CAP_M, CKMD_HFXTTARG_Q1CAP_S, CKMD_O_HFXTTARG, and HWREG.
| __STATIC_INLINE uint32_t CKMDGetTargetQ2CapTrim | ( | void | ) |
Gets target HFXT Q2 capacitor ramp trim.
This function gets the target HFXT Q2 capacitor ramp trim.
References CKMD_BASE, CKMD_HFXTTARG_Q2CAP_M, CKMD_HFXTTARG_Q2CAP_S, CKMD_O_HFXTTARG, and HWREG.
| __STATIC_INLINE uint32_t CKMDGetTargetIrefTrim | ( | void | ) |
Gets target HFXT IREF ramp trim.
This function gets the target HFXT IREF ramp trim.
References CKMD_BASE, CKMD_HFXTTARG_IREF_M, CKMD_HFXTTARG_IREF_S, CKMD_O_HFXTTARG, and HWREG.
| __STATIC_INLINE uint32_t CKMDGetTargetIdacTrim | ( | void | ) |
Gets target HFXT IDAC ramp trim.
This function gets the target HFXT IDAC ramp trim.
References CKMD_BASE, CKMD_HFXTTARG_IDAC_M, CKMD_HFXTTARG_IDAC_S, CKMD_O_HFXTTARG, and HWREG.
| __STATIC_INLINE uint32_t CKMDGetTargetAmplitudeThresholdTrim | ( | void | ) |
Gets target HFXT amplitude threshold ramp trim.
This function target HFXT amplitude threshold ramp trim.
References CKMD_BASE, CKMD_HFXTTARG_AMPTHR_M, CKMD_HFXTTARG_AMPTHR_S, CKMD_O_HFXTTARG, and HWREG.