nrfx 4.5.0
Loading...
Searching...
No Matches
Helper for trimming HSFLL

Helper layer that provides trimming for HSFLL clock. More...

Functions

NRFX_STATIC_INLINE void nrfx_hsfll_trim_apply (NRF_HSFLL_Type *p_reg, uint8_t trim_index, uint32_t hsfll_multiplier)
 Function for trimming HSFLL clock based on calibration data stored in FICR.
 

Detailed Description

Helper layer that provides trimming for HSFLL clock.

Function Documentation

◆ nrfx_hsfll_trim_apply()

NRFX_STATIC_INLINE void nrfx_hsfll_trim_apply ( NRF_HSFLL_Type * p_reg,
uint8_t trim_index,
uint32_t hsfll_multiplier )

Function for trimming HSFLL clock based on calibration data stored in FICR.

The function reads trim values from FICR and applies them to the HSFLL peripheral. It also triggers frequency change task to update the HSFLL clock.

Parameters
[in]p_regPointer to the structure of registers of the HSFLL peripheral.
[in]trim_indexIndex of the fine and coarse trim values.
[in]hsfll_multiplierMultiplier for the HSFLL clock.