Lines Matching refs:pin
58 uint8_t pin; /* GPIO pin in that instance (psel) */ member
138 nrf_gpio_peri_change_output(sc->port, sc->pin, sc->level); in nrf_gpiote_TASKS_OUT()
148 nrf_gpio_peri_change_output(sc->port, sc->pin, sc->level); in nrf_gpiote_TASKS_SET()
158 nrf_gpio_peri_change_output(sc->port, sc->pin, sc->level); in nrf_gpiote_TASKS_CLR()
348 unsigned int pin = (NRF_GPIOTE_regs[inst].CONFIG[ch_n] & GPIOTE_CONFIG_PSEL_Msk) in nrf_gpiote_regw_sideeffects_CONFIG() local
363 if ((port != sc->port) || (pin != sc->pin) in nrf_gpiote_regw_sideeffects_CONFIG()
366 nrf_gpio_peri_pin_control(sc->port, sc->pin, 0, 0, 0, NULL, NULL, -1); in nrf_gpiote_regw_sideeffects_CONFIG()
370 sc->pin = pin; in nrf_gpiote_regw_sideeffects_CONFIG()
375 sc->level = nrf_gpio_get_pin_level(port, pin); in nrf_gpiote_regw_sideeffects_CONFIG()
377 nrf_gpio_peri_pin_control(port, pin, 1, 3, 2, nrf_gpiote_input_change_ntf, (void *)cb_data, -1); in nrf_gpiote_regw_sideeffects_CONFIG()
380 nrf_gpio_peri_pin_control(port, pin, 1, 2, 3, NULL, NULL, outinit); in nrf_gpiote_regw_sideeffects_CONFIG()