Home
last modified time | relevance | path

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

/nrf_hw_models-3.6.0/src/HW_models/
DNRF_GPIOTE.c74 struct gpiote_ch_status_t *sc = &gpiote_ch_status[n]; in nrf_gpiote_TASKS_OUT() local
75 if (sc->mode != GPIOTE_CONFIG_MODE_Task) { in nrf_gpiote_TASKS_OUT()
78 switch (sc->polarity) { in nrf_gpiote_TASKS_OUT()
82 sc->level = true; in nrf_gpiote_TASKS_OUT()
85 sc->level = false; in nrf_gpiote_TASKS_OUT()
88 sc->level = !sc->level; in nrf_gpiote_TASKS_OUT()
95 nrf_gpio_peri_change_output(sc->port, sc->pin, sc->level); in nrf_gpiote_TASKS_OUT()
99 struct gpiote_ch_status_t *sc = &gpiote_ch_status[n]; in nrf_gpiote_TASKS_SET() local
100 if (sc->mode != GPIOTE_CONFIG_MODE_Task) { in nrf_gpiote_TASKS_SET()
103 sc->level = true; in nrf_gpiote_TASKS_SET()
[all …]