Home
last modified time | relevance | path

Searched refs:alloc_index (Results 1 – 1 of 1) sorted by relevance

/hal_nordic-latest/nrfx/drivers/src/
Dnrfx_wdt.c51 uint8_t alloc_index; member
216 NRFX_ASSERT(p_cb->alloc_index != 0); in nrfx_wdt_enable()
227 for (uint8_t i = 0; i < p_cb->alloc_index; i++) in nrfx_wdt_feed()
242 if (p_cb->alloc_index < NRF_WDT_CHANNEL_NUMBER) in nrfx_wdt_channel_alloc()
244 *p_channel_id = (nrfx_wdt_channel_id)(NRF_WDT_RR0 + p_cb->alloc_index); in nrfx_wdt_channel_alloc()
245 p_cb->alloc_index++; in nrfx_wdt_channel_alloc()
266 for (index = 0; index < p_cb->alloc_index; index++) in nrfx_wdt_channels_free()
271 p_cb->alloc_index = 0; in nrfx_wdt_channels_free()