Module containing functions with core-dependent implementation, like delay. More...
Macros | |
#define | NRFX_DELAY_CPU_FREQ_MHZ |
Core frequency (in MHz). | |
#define | NRFX_DELAY_DWT_PRESENT |
Availability of DWT unit in the given SoC. | |
Functions | |
__STATIC_INLINE void | nrfx_coredep_delay_us (uint32_t time_us) |
Function for delaying execution for a number of microseconds. More... | |
Module containing functions with core-dependent implementation, like delay.
__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 frequency in MHz. Therefore, the delay is limited to maximum uint32_t capacity divided by frequency. For example:
time_us | Number of microseconds to wait. |