Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/comparator/
Dcomparator_nrf_lpcomp.c81 static struct shim_nrf_lpcomp_data shim_nrf_lpcomp_data0; variable
109 if (shim_nrf_lpcomp_data0.started) { in shim_nrf_lpcomp_start()
113 nrfx_lpcomp_start(shim_nrf_lpcomp_data0.event_mask, 0); in shim_nrf_lpcomp_start()
114 shim_nrf_lpcomp_data0.started = true; in shim_nrf_lpcomp_start()
119 if (!shim_nrf_lpcomp_data0.started) { in shim_nrf_lpcomp_stop()
124 shim_nrf_lpcomp_data0.started = false; in shim_nrf_lpcomp_stop()
348 (void)nrfx_lpcomp_reconfigure(&shim_nrf_lpcomp_data0.config); in shim_nrf_lpcomp_reconfigure()
365 shim_nrf_lpcomp_data0.event_mask = 0; in shim_nrf_lpcomp_set_trigger()
366 shim_nrf_lpcomp_data0.config.detection = NRF_LPCOMP_DETECT_CROSS; in shim_nrf_lpcomp_set_trigger()
370 shim_nrf_lpcomp_data0.event_mask = NRF_LPCOMP_INT_UP_MASK; in shim_nrf_lpcomp_set_trigger()
[all …]