Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/drivers/lora/
Dsx127x.c153 static const struct gpio_dt_spec sx127x_dios[] = { SX127X_DIO_GPIO_INIT(0) }; variable
155 #define SX127X_MAX_DIO ARRAY_SIZE(sx127x_dios)
347 if (dev == sx127x_dios[i].port && in sx127x_irq_callback()
348 pin == sx127x_dios[i].pin) { in sx127x_irq_callback()
365 if (!gpio_is_ready_dt(&sx127x_dios[i])) { in SX127xIoIrqInit()
367 sx127x_dios[i].port->name); in SX127xIoIrqInit()
373 gpio_pin_configure_dt(&sx127x_dios[i], GPIO_INPUT); in SX127xIoIrqInit()
377 BIT(sx127x_dios[i].pin)); in SX127xIoIrqInit()
379 if (gpio_add_callback(sx127x_dios[i].port, &callbacks[i]) < 0) { in SX127xIoIrqInit()
383 gpio_pin_interrupt_configure_dt(&sx127x_dios[i], in SX127xIoIrqInit()
[all …]