![]() |
nrfxlib API 3.3.99
|
Go to the source code of this file.
Macros | |
| #define | NRF_802154_RTC_FREQUENCY 32768UL |
| RTC clock frequency. | |
| #define | NRF_802154_US_PER_S 1000000ULL |
| Defines the number of microseconds in one second. | |
| #define | NRF_802154_US_PER_TICK NRF_802154_RTC_TICKS_TO_US(1) |
| Number of microseconds in one RTC tick (rounded up). | |
| #define | NRF_802154_FREQUENCY_US_PER_S_GCD_BITS 6 |
| Number of bits to shift RTC_FREQUENCY and US_PER_S to achieve the division by greatest common divisor. | |
| #define | NRF_802154_DIVIDE_AND_CEIL(A, B) |
| Ceil division helper. | |
| #define | NRF_802154_RTC_TICKS_TO_US(ticks) |
| Defines the conversion of RTC ticks to microseconds (us). | |
Typedefs | |
| typedef uint32_t | nrf_802154_mcu_critical_state_t |
| Type holding MCU critical section state. | |
Functions | |
| __STATIC_INLINE void | nrf_802154_delay_us (uint32_t time_in_us) |
| Active waiting for given number of microseconds. | |
| __STATIC_INLINE nrf_802154_mcu_critical_state_t | nrf_802154_mcu_critical_enter (void) |
| Enters critical section on MCU level. | |
| __STATIC_INLINE void | nrf_802154_mcu_critical_exit (nrf_802154_mcu_critical_state_t mcu_cs) |
| Exits critical section on MCU level. | |
| __STATIC_INLINE uint64_t | NRF_802154_US_TO_RTC_TICKS (uint64_t time) |
| Convert microseconds to RTC ticks. | |