nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ nrf_802154_stat_timestamp_write

#define nrf_802154_stat_timestamp_write ( field_name,
value )
Value:
do \
{ \
\
nrf_802154_mcu_critical_enter(mcu_cs); \
(g_nrf_802154_stats.timestamps.field_name) = (value); \
nrf_802154_mcu_critical_exit(mcu_cs); \
} \
while (0)
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

Write one of the nrf_802154_stat_timestamps_t fields.

Parameters
field_nameIdentifier of struct member to write
valueValue to write