Lines Matching refs:p_instance

57 nrfx_err_t nrfx_wdt_init(nrfx_wdt_t const *        p_instance,  in nrfx_wdt_init()  argument
64 wdt_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_wdt_init()
85 nrf_wdt_behaviour_set(p_instance->p_reg, p_config->behaviour); in nrfx_wdt_init()
90 nrf_wdt_reload_value_set(p_instance->p_reg, (uint32_t) ticks); in nrfx_wdt_init()
95 nrf_wdt_int_enable(p_instance->p_reg, NRF_WDT_INT_TIMEOUT_MASK); in nrfx_wdt_init()
96 NRFX_IRQ_PRIORITY_SET(nrfx_get_irq_number(p_instance->p_reg), p_config->interrupt_priority); in nrfx_wdt_init()
97 NRFX_IRQ_ENABLE(nrfx_get_irq_number(p_instance->p_reg)); in nrfx_wdt_init()
107 void nrfx_wdt_enable(nrfx_wdt_t const * p_instance) in nrfx_wdt_enable() argument
109 wdt_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_wdt_enable()
112 nrf_wdt_task_trigger(p_instance->p_reg, NRF_WDT_TASK_START); in nrfx_wdt_enable()
118 void nrfx_wdt_feed(nrfx_wdt_t const * p_instance) in nrfx_wdt_feed() argument
120 wdt_control_block_t const * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_wdt_feed()
124 nrf_wdt_reload_request_set(p_instance->p_reg, (nrf_wdt_rr_register_t)(NRF_WDT_RR0 + i)); in nrfx_wdt_feed()
128 nrfx_err_t nrfx_wdt_channel_alloc(nrfx_wdt_t const * p_instance, nrfx_wdt_channel_id * p_channel_id) in nrfx_wdt_channel_alloc() argument
131 wdt_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_wdt_channel_alloc()
141 nrf_wdt_reload_request_enable(p_instance->p_reg, *p_channel_id); in nrfx_wdt_channel_alloc()
153 void nrfx_wdt_channel_feed(nrfx_wdt_t const * p_instance, nrfx_wdt_channel_id channel_id) in nrfx_wdt_channel_feed() argument
155 NRFX_ASSERT(m_cb[p_instance->drv_inst_idx].state == NRFX_DRV_STATE_POWERED_ON); in nrfx_wdt_channel_feed()
156 nrf_wdt_reload_request_set(p_instance->p_reg, channel_id); in nrfx_wdt_channel_feed()