RFF PLL initialization structure.
When using this structure you need to modify the X, Y and N factor and the desired host target frequency to match the components placed on the board (namely the RFFPLL reference clock). X, Y, N values for a 39MHz HFXO:
Formula for host clock output: frequency = (freq HFXO * dividerN / 2) / dividerY
Formula for radio clock output: freq = (freq HFXO * dividerN / 2) / (dividerX / 2)
Public Attributes#
uint32_t
Host target frequency.
bool
Disable on-demand requests.
bool
Force oscillator enable.
bool
Enable register lock.
uint8_t
Divider Y for digital.
uint8_t
Divider X for Radio.
uint8_t
Feedback divider N.
Public Attribute Documentation#
frequency#
uint32_t CMU_RFFPLL_Init_TypeDef::frequency
Host target frequency.
Definition at line
1308
of file platform/emlib/inc/em_cmu.h
disOnDemand#
bool CMU_RFFPLL_Init_TypeDef::disOnDemand
Disable on-demand requests.
Definition at line
1309
of file platform/emlib/inc/em_cmu.h
forceEn#
bool CMU_RFFPLL_Init_TypeDef::forceEn
Force oscillator enable.
Definition at line
1310
of file platform/emlib/inc/em_cmu.h
regLock#
bool CMU_RFFPLL_Init_TypeDef::regLock
Enable register lock.
Definition at line
1311
of file platform/emlib/inc/em_cmu.h
dividerY#
uint8_t CMU_RFFPLL_Init_TypeDef::dividerY
Divider Y for digital.
Definition at line
1312
of file platform/emlib/inc/em_cmu.h
dividerX#
uint8_t CMU_RFFPLL_Init_TypeDef::dividerX
Divider X for Radio.
Definition at line
1313
of file platform/emlib/inc/em_cmu.h
dividerN#
uint8_t CMU_RFFPLL_Init_TypeDef::dividerN
Feedback divider N.
Definition at line
1314
of file platform/emlib/inc/em_cmu.h