Core-dependent functionality¶
-
group
nrfx_coredep
Module containing functions with core-dependent implementation, like delay.
Defines
-
NRFX_DELAY_CPU_FREQ_MHZ
¶ Core frequency (in MHz).
-
NRFX_DELAY_DWT_PRESENT
¶ Availability of Data Watchpoint and Trace (DWT) unit in the given SoC.
-
NRFX_COREDEP_DELAY_US_LOOP_CYCLES
¶ Number of cycles consumed by one iteration of the internal loop in the function nrfx_coredep_delay_us.
This value can be specified externally (for example, when the SoC is emulated).
Functions
-
NRF_STATIC_INLINE void
nrfx_coredep_delay_us
(uint32_t time_us)¶ Function for delaying execution for a number of microseconds.
The value of
time_us
is multiplied by the CPU frequency in MHz. Therefore, the delay is limited to the maximum value of the uint32_t type divided by the frequency.- Parameters
time_us – Number of microseconds to wait.
-