nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ nrf_802154_stat_timestamp_read

#define nrf_802154_stat_timestamp_read (   variable,
  field_name 
)
Value:
do \
{ \
\
nrf_802154_mcu_critical_enter(mcu_cs); \
*(variable) = g_nrf_802154_stats.timestamps.field_name; \
} \
while (0)
#define nrf_802154_mcu_critical_exit(mcu_critical_state)
Exits critical section on MCU level.
Definition: nrf_802154_utils.h:121
uint32_t nrf_802154_mcu_critical_state_t
Type holding MCU critical section state.
Definition: nrf_802154_utils.h:90
volatile nrf_802154_stats_t g_nrf_802154_stats
nrf_802154_stat_timestamps_t timestamps
Time stamps of events.
Definition: nrf_802154_types.h:347

Read one of the nrf_802154_stat_timestamps_t fields.