nrfxlib API
2.8.99
Loading...
Searching...
No Matches
◆
nrf_802154_stat_counter_increment
#define nrf_802154_stat_counter_increment
(
field_name
)
Value:
do
\
{ \
nrf_802154_mcu_critical_state_t
mcu_cs; \
\
nrf_802154_mcu_critical_enter(mcu_cs); \
(
g_nrf_802154_stats
.
counters
.field_name)++; \
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::counters
nrf_802154_stat_counters_t counters
Statistic counters.
Definition
nrf_802154_types.h:344
Increment one of the
nrf_802154_stat_counters_t
fields.
Parameters
field_name
Identifier of struct member to increment
nrf_802154
driver
src
nrf_802154_stats.h
Generated on Wed Nov 6 2024 12:54:24 for nrfxlib API by
1.12.0