Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/spi/
Dspi_nrfx_common.c10 int spi_nrfx_wake_init(const nrfx_gpiote_t *gpiote, uint32_t wake_pin) in spi_nrfx_wake_init() argument
30 res = nrfx_gpiote_input_configure(gpiote, wake_pin, &input_config); in spi_nrfx_wake_init()
39 int spi_nrfx_wake_request(const nrfx_gpiote_t *gpiote, uint32_t wake_pin) in spi_nrfx_wake_request() argument
41 nrf_gpiote_event_t trigger_event = nrfx_gpiote_in_event_get(gpiote, wake_pin); in spi_nrfx_wake_request()
53 nrfx_gpiote_trigger_enable(gpiote, wake_pin, false); in spi_nrfx_wake_request()
58 nrf_gpio_cfg_input(wake_pin, NRF_GPIO_PIN_PULLUP); in spi_nrfx_wake_request()
70 nrfx_gpiote_trigger_disable(gpiote, wake_pin); in spi_nrfx_wake_request()
71 nrf_gpio_cfg_input(wake_pin, NRF_GPIO_PIN_PULLDOWN); in spi_nrfx_wake_request()
Dspi_nrfx_common.h21 int spi_nrfx_wake_init(const nrfx_gpiote_t *gpiote, uint32_t wake_pin);
22 int spi_nrfx_wake_request(const nrfx_gpiote_t *gpiote, uint32_t wake_pin);
Dspi_nrfx_spi.c34 uint32_t wake_pin; member
239 if (dev_config->wake_pin != WAKE_PIN_NOT_USED) { in transceive()
241 dev_config->wake_pin); in transceive()
389 if (dev_config->wake_pin != WAKE_PIN_NOT_USED) { in spi_nrfx_init()
390 err = spi_nrfx_wake_init(&dev_config->wake_gpiote, dev_config->wake_pin); in spi_nrfx_init()
451 .wake_pin = NRF_DT_GPIOS_TO_PSEL_OR(SPI(idx), wake_gpios, \
Dspi_nrfx_spim.c86 uint32_t wake_pin; member
545 if (dev_config->wake_pin != WAKE_PIN_NOT_USED) { in transceive()
547 dev_config->wake_pin); in transceive()
713 if (dev_config->wake_pin != WAKE_PIN_NOT_USED) { in spi_nrfx_init()
714 err = spi_nrfx_wake_init(&dev_config->wake_gpiote, dev_config->wake_pin); in spi_nrfx_init()
828 .wake_pin = NRF_DT_GPIOS_TO_PSEL_OR(SPIM(idx), wake_gpios, \