Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/counter/
Dcounter_gecko_rtcc.c51 uint8_t cc_idx; in chan_id2cc_idx() local
55 cc_idx = 2; in chan_id2cc_idx()
58 cc_idx = 0; in chan_id2cc_idx()
61 return cc_idx; in chan_id2cc_idx()
177 uint8_t cc_idx = chan_id2cc_idx(chan_id); in counter_gecko_set_alarm() local
179 RTCC_IntClear(RTCC_IF_CC0 << cc_idx); in counter_gecko_set_alarm()
184 RTCC_ChannelCCVSet(cc_idx, ccv); in counter_gecko_set_alarm()
189 RTCC_IntEnable(RTCC_IF_CC0 << cc_idx); in counter_gecko_set_alarm()
199 uint8_t cc_idx = chan_id2cc_idx(chan_id); in counter_gecko_cancel_alarm() local
202 RTCC_IntDisable(RTCC_IF_CC0 << cc_idx); in counter_gecko_cancel_alarm()
[all …]