Lines Matching refs:NRF_LPCOMP
74 nrfy_lpcomp_periph_configure(NRF_LPCOMP, &nrfy_config); in lpcomp_configure()
99 nrfy_lpcomp_int_init(NRF_LPCOMP, int_mask, p_config->interrupt_priority, true); in lpcomp_configure()
104 if (event_mask & nrfy_lpcomp_int_enable_check(NRF_LPCOMP, NRFY_EVENT_TO_INT_BITMASK(event))) in lpcomp_execute_handler()
114 uint32_t evt_mask = nrfy_lpcomp_events_process(NRF_LPCOMP, in nrfx_lpcomp_irq_handler()
149 if (nrfx_prs_acquire(NRF_LPCOMP, nrfx_lpcomp_irq_handler) != NRFX_SUCCESS) in nrfx_lpcomp_init()
158 nrfy_lpcomp_task_trigger(NRF_LPCOMP, NRF_LPCOMP_TASK_STOP); in nrfx_lpcomp_init()
159 nrfy_lpcomp_disable(NRF_LPCOMP); in nrfx_lpcomp_init()
161 nrfy_lpcomp_shorts_disable(NRF_LPCOMP, in nrfx_lpcomp_init()
167 nrfy_lpcomp_int_disable(NRF_LPCOMP, in nrfx_lpcomp_init()
175 nrfy_lpcomp_enable(NRF_LPCOMP); in nrfx_lpcomp_init()
177 nrfy_lpcomp_shorts_enable(NRF_LPCOMP, NRF_LPCOMP_SHORT_READY_SAMPLE_MASK); in nrfx_lpcomp_init()
201 nrfy_lpcomp_disable(NRF_LPCOMP); in nrfx_lpcomp_reconfigure()
203 nrfy_lpcomp_enable(NRF_LPCOMP); in nrfx_lpcomp_reconfigure()
221 nrfy_lpcomp_int_uninit(NRF_LPCOMP); in nrfx_lpcomp_uninit()
224 nrfx_prs_release(NRF_LPCOMP); in nrfx_lpcomp_uninit()
239 nrfy_lpcomp_enable(NRF_LPCOMP); in nrfx_lpcomp_start()
240 (void)nrfy_lpcomp_events_process(NRF_LPCOMP, lpcomp_evt_en_mask); in nrfx_lpcomp_start()
241 nrfy_lpcomp_int_enable(NRF_LPCOMP, lpcomp_evt_en_mask); in nrfx_lpcomp_start()
242 nrfy_lpcomp_shorts_enable(NRF_LPCOMP, lpcomp_shorts_mask); in nrfx_lpcomp_start()
244 nrfy_lpcomp_task_trigger(NRF_LPCOMP, NRF_LPCOMP_TASK_START); in nrfx_lpcomp_start()
251 nrfy_lpcomp_disable(NRF_LPCOMP); in nrfx_lpcomp_stop()
252 nrfy_lpcomp_task_trigger(NRF_LPCOMP, NRF_LPCOMP_TASK_STOP); in nrfx_lpcomp_stop()
253 nrfy_lpcomp_int_disable(NRF_LPCOMP, in nrfx_lpcomp_stop()
266 return nrfy_lpcomp_sample(NRF_LPCOMP); in nrfx_lpcomp_sample()