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_state_t
mcu_cs; \
\
nrf_802154_mcu_critical_enter(mcu_cs); \
(
g_nrf_802154_stats
.
timestamps
.field_name) = (value); \
nrf_802154_mcu_critical_exit(mcu_cs); \
} \
while (0)
nrf_802154_mcu_critical_state_t
uint32_t nrf_802154_mcu_critical_state_t
Type holding MCU critical section state.
Definition
nrf_802154_utils.h:90
g_nrf_802154_stats
volatile nrf_802154_stats_t g_nrf_802154_stats
nrf_802154_stats_t::timestamps
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_name
Identifier of struct member to write
value
Value to write
nrf_802154
driver
src
nrf_802154_stats.h
Generated on Wed Nov 6 2024 12:54:24 for nrfxlib API by
1.12.0