Searched refs:instance_id (Results 1 – 4 of 4) sorted by relevance
/lk-master/external/platform/nrfx/drivers/src/ |
A D | nrfx_rtc.c | 76 m_handlers[p_instance->instance_id] = handler; in nrfx_rtc_init() 161 p_instance->instance_id, in nrfx_rtc_cc_disable() 184 if (m_cb[p_instance->instance_id].reliable) in nrfx_rtc_cc_set() 215 p_instance->instance_id, in nrfx_rtc_cc_set() 269 if (m_cb[p_instance->instance_id].reliable) in nrfx_rtc_max_ticks_get() 281 uint32_t instance_id, in irq_handler() argument 297 (unsigned long)instance_id); in irq_handler() 310 (unsigned long)instance_id); in irq_handler() 311 m_handlers[instance_id](NRFX_RTC_INT_TICK); in irq_handler() 321 (unsigned long)instance_id); in irq_handler() [all …]
|
A D | nrfx_timer.c | 77 timer_control_block_t * p_cb = &m_cb[p_instance->instance_id]; in nrfx_timer_init() 144 m_cb[p_instance->instance_id].state = NRFX_DRV_STATE_UNINITIALIZED; in nrfx_timer_uninit() 145 NRFX_LOG_INFO("Uninitialized instance: %d.", p_instance->instance_id); in nrfx_timer_uninit() 152 m_cb[p_instance->instance_id].state = NRFX_DRV_STATE_POWERED_ON; in nrfx_timer_enable() 153 NRFX_LOG_INFO("Enabled instance: %d.", p_instance->instance_id); in nrfx_timer_enable() 160 m_cb[p_instance->instance_id].state = NRFX_DRV_STATE_INITIALIZED; in nrfx_timer_disable() 161 NRFX_LOG_INFO("Disabled instance: %d.", p_instance->instance_id); in nrfx_timer_disable() 174 NRFX_LOG_INFO("Resumed instance: %d.", p_instance->instance_id); in nrfx_timer_resume() 181 NRFX_LOG_INFO("Paused instance: %d.", p_instance->instance_id); in nrfx_timer_pause() 228 p_instance->instance_id, in nrfx_timer_compare() [all …]
|
/lk-master/external/platform/nrfx/drivers/include/ |
A D | nrfx_rtc.h | 68 uint8_t instance_id; /**< Index of the driver instance. For internal use only. */ member 77 .instance_id = NRFX_CONCAT_3(NRFX_RTC, id, _INST_IDX), \
|
A D | nrfx_timer.h | 55 uint8_t instance_id; ///< Index of the driver instance. For internal use only. member 63 .instance_id = NRFX_CONCAT_3(NRFX_TIMER, id, _INST_IDX), \
|
Completed in 11 milliseconds