Hardware access layer for managing the High Frequency Crystal Oscillator 64MHz (HFXO64M). More...
Data Structures | |
struct | nrf_hfxo64m_status_t |
HFXO64M status. More... | |
struct | nrf_hfxo64m_statusana_t |
HFXO64M status of analog module output signals. More... | |
struct | nrf_hfxo64m_ts_cfg_t |
HFXO64M Temperature sensor configuration. More... | |
struct | nrf_hfxo64m_ts_ensel_t |
HFXO64M Temperature sensor enable settings. More... | |
struct | nrf_hfxo64m_cfg_t |
HFXO64M configuration. More... | |
Macros | |
#define | NRF_HFXO64M_HAS_TCXO 1 |
Symbol indicating whether the TCXO is present. | |
Enumerations | |
enum | nrf_hfxo64m_event_t { NRF_HFXO64M_EVENT_STARTED = offsetof(NRF_HFXO64M_Type, EVENTS_STARTED) , NRF_HFXO64M_EVENT_STOPPED = offsetof(NRF_HFXO64M_Type, EVENTS_STOPPED) , NRF_HFXO64M_EVENT_ERROR_BIAS = offsetof(NRF_HFXO64M_Type, EVENTS_ERRORBIAS) , NRF_HFXO64M_EVENT_ERROR_DETECTOR = offsetof(NRF_HFXO64M_Type, EVENTS_ERRORDETECTOR) , NRF_HFXO64M_EVENT_ERROR_TCXO = offsetof(NRF_HFXO64M_Type, EVENTS_ERRORTCXO) , NRF_HFXO64M_EVENT_STARTREQ = offsetof(NRF_HFXO64M_Type, EVENTS_STARTREQ) , NRF_HFXO64M_EVENT_STOPREQ = offsetof(NRF_HFXO64M_Type, EVENTS_STOPREQ) } |
HFXO64M events. More... | |
enum | nrf_hfxo64m_int_mask_t { NRF_HFXO64M_INT_STARTED_MASK = HFXO64M_INTENSET_STARTED_Msk , NRF_HFXO64M_INT_STOPPED_MASK = HFXO64M_INTENSET_STOPPED_Msk , NRF_HFXO64M_INT_ERROR_BIAS_MASK = HFXO64M_INTENSET_ERRORBIAS_Msk , NRF_HFXO64M_INT_ERROR_DETECTOR_MASK = HFXO64M_INTENSET_ERRORDETECTOR_Msk , NRF_HFXO64M_INT_ERROR_TCXO_MASK = HFXO64M_INTENSET_ERRORTCXO_Msk , NRF_HFXO64M_INT_STARTREQ_MASK = HFXO64M_INTENSET_STARTREQ_Msk , NRF_HFXO64M_INT_STOPREQ_MASK = HFXO64M_INTENSET_STOPREQ_Msk } |
HFXO64M interrupts. More... | |
enum | nrf_hfxo64m_status_mode_t { NRF_HFXO64M_STATUS_MODE_NORMAL = HFXO64M_STATUS_MODE_Normal , NRF_HFXO64M_STATUS_MODE_TCXO = HFXO64M_STATUS_MODE_TCXO } |
HFXO64M status modes. More... | |
enum | nrf_hfxo64m_process_t { NRF_HFXO64M_PROCESS_TYPICAL = 0 , NRF_HFXO64M_PROCESS_SLOW , NRF_HFXO64M_PROCESS_FAST } |
HFXO64M process modes. More... | |
enum | nrf_hfxo64m_ts_interval_t { NRF_HFXO64M_TS_INTERVAL_4US = HFXO64M_TS_CFG_TIMERSEL_Interval4us , NRF_HFXO64M_TS_INTERVAL_8US = HFXO64M_TS_CFG_TIMERSEL_Interval8us , NRF_HFXO64M_TS_INTERVAL_16US = HFXO64M_TS_CFG_TIMERSEL_Interval16us , NRF_HFXO64M_TS_INTERVAL_32US = HFXO64M_TS_CFG_TIMERSEL_Interval32us , NRF_HFXO64M_TS_INTERVAL_64US = HFXO64M_TS_CFG_TIMERSEL_Interval64us , NRF_HFXO64M_TS_INTERVAL_128US = HFXO64M_TS_CFG_TIMERSEL_Interval128us , NRF_HFXO64M_TS_INTERVAL_256US = HFXO64M_TS_CFG_TIMERSEL_Interval256us , NRF_HFXO64M_TS_INTERVAL_512US = HFXO64M_TS_CFG_TIMERSEL_Interval512us } |
HFXO64M Temperature measurement interval mode. More... | |
enum | nrf_hfxo64m_power_control_t { NRF_HFXO64M_POWER_CONTROL_AUTO = HFXO64M_PWRUPCTRL_CTRL_Auto , NRF_HFXO64M_POWER_CONTROL_POWER_UP = HFXO64M_PWRUPCTRL_CTRL_PowerUp , NRF_HFXO64M_POWER_CONTROL_POWER_DOWN = HFXO64M_PWRUPCTRL_CTRL_PowerDown } |
Power up control modes. More... | |
enum | nrf_hfxo64m_mode_t { NRF_HFXO64M_MODE_NORMAL = HFXO64M_MODE_MODE_Normal , NRF_HFXO64M_MODE_TCXO = HFXO64M_MODE_MODE_TCXO } |
HFXO64M modes. More... | |
enum | nrf_hfxo64m_xtal_settletime_t { NRF_HFXO64M_XTAL_SETTLETIME_250US = HFXO64M_XTALSETTLETIME_VAL_Settle250us , NRF_HFXO64M_XTAL_SETTLETIME_300US = HFXO64M_XTALSETTLETIME_VAL_Settle300us , NRF_HFXO64M_XTAL_SETTLETIME_350US = HFXO64M_XTALSETTLETIME_VAL_Settle350us , NRF_HFXO64M_XTAL_SETTLETIME_400US = HFXO64M_XTALSETTLETIME_VAL_Settle400us , NRF_HFXO64M_XTAL_SETTLETIME_500US = HFXO64M_XTALSETTLETIME_VAL_Settle500us , NRF_HFXO64M_XTAL_SETTLETIME_600US = HFXO64M_XTALSETTLETIME_VAL_Settle600us , NRF_HFXO64M_XTAL_SETTLETIME_700US = HFXO64M_XTALSETTLETIME_VAL_Settle700us , NRF_HFXO64M_XTAL_SETTLETIME_800US = HFXO64M_XTALSETTLETIME_VAL_Settle800us , NRF_HFXO64M_XTAL_SETTLETIME_1000US = HFXO64M_XTALSETTLETIME_VAL_Settle1000us , NRF_HFXO64M_XTAL_SETTLETIME_2000US = HFXO64M_XTALSETTLETIME_VAL_Settle2000us , NRF_HFXO64M_XTAL_SETTLETIME_3000US = HFXO64M_XTALSETTLETIME_VAL_Settle3000us , NRF_HFXO64M_XTAL_SETTLETIME_4000US = HFXO64M_XTALSETTLETIME_VAL_Settle4000us , NRF_HFXO64M_XTAL_SETTLETIME_5000US = HFXO64M_XTALSETTLETIME_VAL_Settle5000us , NRF_HFXO64M_XTAL_SETTLETIME_6000US = HFXO64M_XTALSETTLETIME_VAL_Settle6000us , NRF_HFXO64M_XTAL_SETTLETIME_7000US = HFXO64M_XTALSETTLETIME_VAL_Settle7000us , NRF_HFXO64M_XTAL_SETTLETIME_8500US = HFXO64M_XTALSETTLETIME_VAL_Settle8500us } |
HFXO64M Crystal settle time mode. More... | |
enum | nrf_hfxo64m_chirp_period_t { NRF_HFXO64M_CHIRP_PERIOD_32US = HFXO64M_CHIRPTIME_VAL_Chirp32us , NRF_HFXO64M_CHIRP_PERIOD_40US = HFXO64M_CHIRPTIME_VAL_Chirp40us , NRF_HFXO64M_CHIRP_PERIOD_48US = HFXO64M_CHIRPTIME_VAL_Chirp48us , NRF_HFXO64M_CHIRP_PERIOD_56US = HFXO64M_CHIRPTIME_VAL_Chirp56us , NRF_HFXO64M_CHIRP_PERIOD_65US = HFXO64M_CHIRPTIME_VAL_Chirp65us , NRF_HFXO64M_CHIRP_PERIOD_73US = HFXO64M_CHIRPTIME_VAL_Chirp73us , NRF_HFXO64M_CHIRP_PERIOD_81US = HFXO64M_CHIRPTIME_VAL_Chirp81us , NRF_HFXO64M_CHIRP_PERIOD_89US = HFXO64M_CHIRPTIME_VAL_Chirp89us , NRF_HFXO64M_CHIRP_PERIOD_98US = HFXO64M_CHIRPTIME_VAL_Chirp98us , NRF_HFXO64M_CHIRP_PERIOD_106US = HFXO64M_CHIRPTIME_VAL_Chirp106us , NRF_HFXO64M_CHIRP_PERIOD_114US = HFXO64M_CHIRPTIME_VAL_Chirp114us , NRF_HFXO64M_CHIRP_PERIOD_122US = HFXO64M_CHIRPTIME_VAL_Chirp122us , NRF_HFXO64M_CHIRP_PERIOD_131US = HFXO64M_CHIRPTIME_VAL_Chirp131us , NRF_HFXO64M_CHIRP_PERIOD_139US = HFXO64M_CHIRPTIME_VAL_Chirp139us , NRF_HFXO64M_CHIRP_PERIOD_147US = HFXO64M_CHIRPTIME_VAL_Chirp147us , NRF_HFXO64M_CHIRP_PERIOD_156US = HFXO64M_CHIRPTIME_VAL_Chirp156us } |
HFXO64M Chirp period length. More... | |
enum | nrf_hfxo64m_levelselect_t { NRF_HFXO64M_LEVELSELECT_HIGH = HFXO64M_CFG_LEVELSELECT_High , NRF_HFXO64M_LEVELSELECT_LOW = HFXO64M_CFG_LEVELSELECT_Low } |
HFXO64M select for AREG level. More... | |
Functions | |
NRF_STATIC_INLINE uint32_t | nrf_hfxo64m_event_address_get (NRF_HFXO64M_Type const *p_reg, nrf_hfxo64m_event_t event) |
Function for retrieving the address of the specified event. | |
NRF_STATIC_INLINE void | nrf_hfxo64m_event_clear (NRF_HFXO64M_Type *p_reg, nrf_hfxo64m_event_t event) |
Function for clearing the specified event. | |
NRF_STATIC_INLINE bool | nrf_hfxo64m_event_check (NRF_HFXO64M_Type const *p_reg, nrf_hfxo64m_event_t event) |
Function for retrieving the state of the specified event. | |
NRF_STATIC_INLINE void | nrf_hfxo64m_int_enable (NRF_HFXO64M_Type *p_reg, uint32_t mask) |
Function for enabling the specified interrupt. | |
NRF_STATIC_INLINE void | nrf_hfxo64m_int_disable (NRF_HFXO64M_Type *p_reg, uint32_t mask) |
Function for disabling the specified interrupt. | |
NRF_STATIC_INLINE uint32_t | nrf_hfxo64m_int_enable_check (NRF_HFXO64M_Type const *p_reg, uint32_t mask) |
Function for checking if the specified interrupts are enabled. | |
NRF_STATIC_INLINE uint32_t | nrf_hfxo64m_int_pending_get (NRF_HFXO64M_Type const *p_reg) |
Function for retrieving the state of pending interrupts. | |
NRF_STATIC_INLINE void | nrf_hfxo64m_status_get (NRF_HFXO64M_Type const *p_reg, nrf_hfxo64m_status_t *p_status) |
Function for getting HFXO64M status. | |
NRF_STATIC_INLINE void | nrf_hfxo64m_statusana_get (NRF_HFXO64M_Type const *p_reg, nrf_hfxo64m_statusana_t *p_status) |
Function for getting HFXO64M status of analog module output signals. | |
NRF_STATIC_INLINE uint8_t | nrf_hfxo64m_trim_rtune_get (NRF_HFXO64M_Type const *p_reg) |
Function for getting the HFXO64M voltage reference tuning. | |
NRF_STATIC_INLINE void | nrf_hfxo64m_trim_rtune_set (NRF_HFXO64M_Type *p_reg, uint8_t value) |
Function for setting the HFXO64M voltage reference tuning. | |
NRF_STATIC_INLINE nrf_hfxo64m_process_t | nrf_hfxo64m_trim_chirptune_get (NRF_HFXO64M_Type const *p_reg) |
Function for getting the HFXO64M process compensation tuning mode for chirp generator. | |
NRF_STATIC_INLINE void | nrf_hfxo64m_trim_chirptune_set (NRF_HFXO64M_Type *p_reg, nrf_hfxo64m_process_t mode) |
Function for setting the HFXO64M process compensation tuning mode for chirp generator. | |
NRF_STATIC_INLINE nrf_hfxo64m_process_t | nrf_hfxo64m_trim_doublercomp_get (NRF_HFXO64M_Type const *p_reg) |
Function for getting the HFXO64M process compensation mode for frequency doubler. | |
NRF_STATIC_INLINE void | nrf_hfxo64m_trim_doublercomp_set (NRF_HFXO64M_Type *p_reg, nrf_hfxo64m_process_t mode) |
Function for setting the HFXO64M process compensation mode for frequency doubler. | |
NRF_STATIC_INLINE void | nrf_hfxo64m_ts_cfg_get (NRF_HFXO64M_Type const *p_reg, nrf_hfxo64m_ts_cfg_t *p_cfg) |
Function for getting the HFXO64M temperature sensor configuration. | |
NRF_STATIC_INLINE void | nrf_hfxo64m_ts_cfg_set (NRF_HFXO64M_Type *p_reg, nrf_hfxo64m_ts_cfg_t *p_cfg) |
Function for setting the HFXO64M temperature sensor measurement mode for ch1. | |
NRF_STATIC_INLINE void | nrf_hfxo64m_ts_ensel_set (NRF_HFXO64M_Type *p_reg, nrf_hfxo64m_ts_ensel_t *p_sel) |
Function for enabling/disabling the HFXO64M temperature sensor enabling per clock request. | |
NRF_STATIC_INLINE void | nrf_hfxo64m_ts_datain_set (NRF_HFXO64M_Type *p_reg, uint16_t value) |
Function for setting the HFXO64M temperature sensor test data input. | |
NRF_STATIC_INLINE void | nrf_hfxo64m_ts_datainload_set (NRF_HFXO64M_Type *p_reg, bool enable) |
Function for enabling/disabling the HFXO64M temperature sensor test data latch pulse input. | |
NRF_STATIC_INLINE void | nrf_hfxo64m_mirror_lock_set (NRF_HFXO64M_Type *p_reg, bool enable) |
Function for enabling/disabling lock for mirrored registers. | |
NRF_STATIC_INLINE void | nrf_hfxo64m_power_control_set (NRF_HFXO64M_Type *p_reg, nrf_hfxo64m_power_control_t pwrctrl) |
Function for setting the power control configuration. | |
NRF_STATIC_INLINE void | nrf_hfxo64m_mode_set (NRF_HFXO64M_Type *p_reg, nrf_hfxo64m_mode_t oscmode) |
Function for setting HFXO64M mode. | |
NRF_STATIC_INLINE void | nrf_hfxo64m_xtal_settletime_set (NRF_HFXO64M_Type *p_reg, nrf_hfxo64m_xtal_settletime_t settle_time) |
Function for setting the HFXO64M settle time of the crystal. | |
NRF_STATIC_INLINE void | nrf_hfxo64m_chirp_period_set (NRF_HFXO64M_Type *p_reg, nrf_hfxo64m_chirp_period_t period) |
Function for setting the HFXO64M chirp period length. | |
NRF_STATIC_INLINE void | nrf_hfxo64m_damping_set (NRF_HFXO64M_Type *p_reg, bool enable) |
Function for enabling/disabling the HFXO64M MMI to do crystal damping when stopping the oscillator. | |
NRF_STATIC_INLINE void | nrf_hfxo64m_forcebuff_set (NRF_HFXO64M_Type *p_reg, bool enable) |
Function for enabling/disabling all clock buffers when sinOut4_ana buffer is enabled. | |
NRF_STATIC_INLINE void | nrf_hfxo64m_cfg_get (NRF_HFXO64M_Type const *p_reg, nrf_hfxo64m_cfg_t *p_cfg) |
Function for getting the HFXO64M configuration. | |
NRF_STATIC_INLINE void | nrf_hfxo64m_cfg_set (NRF_HFXO64M_Type *p_reg, nrf_hfxo64m_cfg_t *p_cfg) |
Function for setting the HFXO64M configuration. | |
NRF_STATIC_INLINE bool | nrf_hfxo64m_tcxopowered_check (NRF_HFXO64M_Type const *p_reg) |
Function for checking the status of the TCXO power. | |
NRF_STATIC_INLINE void | nrf_hfxo64m_tcxopowered_set (NRF_HFXO64M_Type *p_reg, bool enable) |
Function for setting the status of the TCXO power. | |
Hardware access layer for managing the High Frequency Crystal Oscillator 64MHz (HFXO64M).
HFXO64M Chirp period length.
enum nrf_hfxo64m_event_t |
HFXO64M events.
HFXO64M interrupts.
enum nrf_hfxo64m_mode_t |
HFXO64M Temperature measurement interval mode.
HFXO64M Crystal settle time mode.
NRF_STATIC_INLINE void nrf_hfxo64m_cfg_get | ( | NRF_HFXO64M_Type const * | p_reg, |
nrf_hfxo64m_cfg_t * | p_cfg | ||
) |
Function for getting the HFXO64M configuration.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[out] | p_cfg | Pointer to the structure to be filled with temperature sensor configuration. |
NRF_STATIC_INLINE void nrf_hfxo64m_cfg_set | ( | NRF_HFXO64M_Type * | p_reg, |
nrf_hfxo64m_cfg_t * | p_cfg | ||
) |
Function for setting the HFXO64M configuration.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | p_cfg | Pointer to the structure with HFXO64M configuration. |
NRF_STATIC_INLINE void nrf_hfxo64m_chirp_period_set | ( | NRF_HFXO64M_Type * | p_reg, |
nrf_hfxo64m_chirp_period_t | period | ||
) |
Function for setting the HFXO64M chirp period length.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | period | Chirp period length. |
NRF_STATIC_INLINE void nrf_hfxo64m_damping_set | ( | NRF_HFXO64M_Type * | p_reg, |
bool | enable | ||
) |
Function for enabling/disabling the HFXO64M MMI to do crystal damping when stopping the oscillator.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | enable | Enable crystal damping. |
NRF_STATIC_INLINE uint32_t nrf_hfxo64m_event_address_get | ( | NRF_HFXO64M_Type const * | p_reg, |
nrf_hfxo64m_event_t | event | ||
) |
Function for retrieving the address of the specified event.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | event | HFXO64M Event. |
NRF_STATIC_INLINE bool nrf_hfxo64m_event_check | ( | NRF_HFXO64M_Type const * | p_reg, |
nrf_hfxo64m_event_t | event | ||
) |
Function for retrieving the state of the specified event.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | event | Event to be checked. |
true | The event has been generated. |
false | The event has not been generated. |
NRF_STATIC_INLINE void nrf_hfxo64m_event_clear | ( | NRF_HFXO64M_Type * | p_reg, |
nrf_hfxo64m_event_t | event | ||
) |
Function for clearing the specified event.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | event | Event to clear. |
NRF_STATIC_INLINE void nrf_hfxo64m_forcebuff_set | ( | NRF_HFXO64M_Type * | p_reg, |
bool | enable | ||
) |
Function for enabling/disabling all clock buffers when sinOut4_ana buffer is enabled.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | enable | Enable all clock buffers. |
NRF_STATIC_INLINE void nrf_hfxo64m_int_disable | ( | NRF_HFXO64M_Type * | p_reg, |
uint32_t | mask | ||
) |
Function for disabling the specified interrupt.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | mask | Mask of interrupts to be disabled. Use nrf_hfxo64m_int_mask_t values for bit masking. |
NRF_STATIC_INLINE void nrf_hfxo64m_int_enable | ( | NRF_HFXO64M_Type * | p_reg, |
uint32_t | mask | ||
) |
Function for enabling the specified interrupt.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | mask | Mask of interrupts to be enabled. Use nrf_hfxo64m_int_mask_t values for bit masking. |
NRF_STATIC_INLINE uint32_t nrf_hfxo64m_int_enable_check | ( | NRF_HFXO64M_Type const * | p_reg, |
uint32_t | mask | ||
) |
Function for checking if the specified interrupts are enabled.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | mask | Mask of interrupts to be checked. Use nrf_hfxo64m_int_mask_t values for bit masking. |
NRF_STATIC_INLINE uint32_t nrf_hfxo64m_int_pending_get | ( | NRF_HFXO64M_Type const * | p_reg | ) |
Function for retrieving the state of pending interrupts.
States of pending interrupt are saved as a bitmask. One set at particular position means that interrupt for event is pending.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
NRF_STATIC_INLINE void nrf_hfxo64m_mirror_lock_set | ( | NRF_HFXO64M_Type * | p_reg, |
bool | enable | ||
) |
Function for enabling/disabling lock for mirrored registers.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | enable | Enable lock. |
NRF_STATIC_INLINE void nrf_hfxo64m_mode_set | ( | NRF_HFXO64M_Type * | p_reg, |
nrf_hfxo64m_mode_t | oscmode | ||
) |
Function for setting HFXO64M mode.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | oscmode | Oscillator mode. |
NRF_STATIC_INLINE void nrf_hfxo64m_power_control_set | ( | NRF_HFXO64M_Type * | p_reg, |
nrf_hfxo64m_power_control_t | pwrctrl | ||
) |
Function for setting the power control configuration.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | pwrctrl | Power up control mode. |
NRF_STATIC_INLINE void nrf_hfxo64m_status_get | ( | NRF_HFXO64M_Type const * | p_reg, |
nrf_hfxo64m_status_t * | p_status | ||
) |
Function for getting HFXO64M status.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[out] | p_status | Pointer to the structure to be filled with HFXO64M status. |
NRF_STATIC_INLINE void nrf_hfxo64m_statusana_get | ( | NRF_HFXO64M_Type const * | p_reg, |
nrf_hfxo64m_statusana_t * | p_status | ||
) |
Function for getting HFXO64M status of analog module output signals.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[out] | p_status | Pointer to the structure to be filled with HFXO64M status of analog module output signals. |
NRF_STATIC_INLINE bool nrf_hfxo64m_tcxopowered_check | ( | NRF_HFXO64M_Type const * | p_reg | ) |
Function for checking the status of the TCXO power.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
true | TCXO is powered on. |
false | TCXO is powered off. |
NRF_STATIC_INLINE void nrf_hfxo64m_tcxopowered_set | ( | NRF_HFXO64M_Type * | p_reg, |
bool | enable | ||
) |
Function for setting the status of the TCXO power.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | enable | True if the TCXO power status is to be set, false otherwise. |
NRF_STATIC_INLINE nrf_hfxo64m_process_t nrf_hfxo64m_trim_chirptune_get | ( | NRF_HFXO64M_Type const * | p_reg | ) |
Function for getting the HFXO64M process compensation tuning mode for chirp generator.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
NRF_STATIC_INLINE void nrf_hfxo64m_trim_chirptune_set | ( | NRF_HFXO64M_Type * | p_reg, |
nrf_hfxo64m_process_t | mode | ||
) |
Function for setting the HFXO64M process compensation tuning mode for chirp generator.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | mode | Mode to set for process compensation tuning. |
NRF_STATIC_INLINE nrf_hfxo64m_process_t nrf_hfxo64m_trim_doublercomp_get | ( | NRF_HFXO64M_Type const * | p_reg | ) |
Function for getting the HFXO64M process compensation mode for frequency doubler.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
NRF_STATIC_INLINE void nrf_hfxo64m_trim_doublercomp_set | ( | NRF_HFXO64M_Type * | p_reg, |
nrf_hfxo64m_process_t | mode | ||
) |
Function for setting the HFXO64M process compensation mode for frequency doubler.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | mode | Mode to set for process compensation. |
NRF_STATIC_INLINE uint8_t nrf_hfxo64m_trim_rtune_get | ( | NRF_HFXO64M_Type const * | p_reg | ) |
Function for getting the HFXO64M voltage reference tuning.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
NRF_STATIC_INLINE void nrf_hfxo64m_trim_rtune_set | ( | NRF_HFXO64M_Type * | p_reg, |
uint8_t | value | ||
) |
Function for setting the HFXO64M voltage reference tuning.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | value | Value to set as voltage reference tuning. 2's complement (MSB bit is inverted). |
NRF_STATIC_INLINE void nrf_hfxo64m_ts_cfg_get | ( | NRF_HFXO64M_Type const * | p_reg, |
nrf_hfxo64m_ts_cfg_t * | p_cfg | ||
) |
Function for getting the HFXO64M temperature sensor configuration.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[out] | p_cfg | Pointer to the structure to be filled with temperature sensor configuration. |
NRF_STATIC_INLINE void nrf_hfxo64m_ts_cfg_set | ( | NRF_HFXO64M_Type * | p_reg, |
nrf_hfxo64m_ts_cfg_t * | p_cfg | ||
) |
Function for setting the HFXO64M temperature sensor measurement mode for ch1.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | p_cfg | Pointer to the structure with temperature sensor configuration. |
NRF_STATIC_INLINE void nrf_hfxo64m_ts_datain_set | ( | NRF_HFXO64M_Type * | p_reg, |
uint16_t | value | ||
) |
Function for setting the HFXO64M temperature sensor test data input.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | value | Test data input value. |
NRF_STATIC_INLINE void nrf_hfxo64m_ts_datainload_set | ( | NRF_HFXO64M_Type * | p_reg, |
bool | enable | ||
) |
Function for enabling/disabling the HFXO64M temperature sensor test data latch pulse input.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | enable | Enable/disable test data latch pulse input value. |
NRF_STATIC_INLINE void nrf_hfxo64m_ts_ensel_set | ( | NRF_HFXO64M_Type * | p_reg, |
nrf_hfxo64m_ts_ensel_t * | p_sel | ||
) |
Function for enabling/disabling the HFXO64M temperature sensor enabling per clock request.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | p_sel | Pointer to the structure with temperature sensor enable settings. |
NRF_STATIC_INLINE void nrf_hfxo64m_xtal_settletime_set | ( | NRF_HFXO64M_Type * | p_reg, |
nrf_hfxo64m_xtal_settletime_t | settle_time | ||
) |
Function for setting the HFXO64M settle time of the crystal.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | settle_time | Settle time of the crystal. |