Home
last modified time | relevance | path

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

/nrf_hw_models-latest/src/HW_models/
DNRF_GPIOTE.c117 struct gpiote_ch_status_t *sc = &gpiote_st[inst].gpiote_ch_status[n]; in nrf_gpiote_TASKS_OUT() local
118 if (sc->mode != GPIOTE_CONFIG_MODE_Task) { in nrf_gpiote_TASKS_OUT()
121 switch (sc->polarity) { in nrf_gpiote_TASKS_OUT()
125 sc->level = true; in nrf_gpiote_TASKS_OUT()
128 sc->level = false; in nrf_gpiote_TASKS_OUT()
131 sc->level = !sc->level; in nrf_gpiote_TASKS_OUT()
138 nrf_gpio_peri_change_output(sc->port, sc->pin, sc->level); in nrf_gpiote_TASKS_OUT()
142 struct gpiote_ch_status_t *sc = &gpiote_st[inst].gpiote_ch_status[n]; in nrf_gpiote_TASKS_SET() local
143 if (sc->mode != GPIOTE_CONFIG_MODE_Task) { in nrf_gpiote_TASKS_SET()
146 sc->level = true; in nrf_gpiote_TASKS_SET()
[all …]