nrfxlib API 2.8.99
|
#include "nrf_802154_assert.h"
#include <stdint.h>
#include <string.h>
#include "nrfx.h"
#include <soc/nrfx_coredep.h>
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). | |
#define | NUMELTS(X) |
Macro to get the number of elements in an array. | |
#define | nrf_802154_delay_us(time_in_us) |
Active waiting for given number of microseconds. | |
#define | nrf_802154_mcu_critical_enter(mcu_critical_state) |
Enters critical section on MCU level. | |
#define | nrf_802154_mcu_critical_exit(mcu_critical_state) |
Exits critical section on MCU level. | |
Typedefs | |
typedef uint32_t | nrf_802154_mcu_critical_state_t |
Type holding MCU critical section state. | |
Functions | |
static uint64_t | NRF_802154_US_TO_RTC_TICKS (uint64_t time) |