Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/drivers/input/
Dinput_gpio_keys.c20 int8_t pin_state; member
40 int8_t pin_state; member
58 pin_data->cb_data.pin_state, new_pressed, key_index); in gpio_keys_change_deferred()
61 if (new_pressed != pin_data->cb_data.pin_state) { in gpio_keys_change_deferred()
62 pin_data->cb_data.pin_state = new_pressed; in gpio_keys_change_deferred()
110 cb->pin_state = -1; in gpio_keys_interrupt_configure()
/Zephyr-Core-3.5.0/drivers/gpio/
Dgpio_pca953x.c53 struct pca953x_pin_state pin_state; member
91 drv_data->pin_state.input = input_states; in update_input()
124 previous_state = drv_data->pin_state.input; in gpio_pca953x_handle_interrupt()
131 current_state = drv_data->pin_state.input; in gpio_pca953x_handle_interrupt()
184 struct pca953x_pin_state *pins = &drv_data->pin_state; in gpio_pca953x_config()
268 drv_data->pin_state.input = input_pin_data; in gpio_pca953x_port_read()
269 *value = (gpio_port_value_t)(drv_data->pin_state.input); in gpio_pca953x_port_read()
283 uint8_t *outp = &drv_data->pin_state.output; in gpio_pca953x_port_write()
475 .pin_state.dir = ALL_PINS, \
476 .pin_state.output = ALL_PINS, \
Dgpio_cy8c95xx.c36 struct cy8c95xx_pin_state pin_state; member
92 struct cy8c95xx_pin_state *pins = &drv_data->pin_state; in cy8c95xx_config()
169 uint8_t *outp = &drv_data->pin_state.data_out; in port_write()
248 drv_data->pin_state = (struct cy8c95xx_pin_state) { in cy8c95xx_init()
254 rc = write_pin_state(cfg, &drv_data->pin_state); in cy8c95xx_init()
Dgpio_sx1509b.c65 struct sx1509b_pin_state pin_state; member
283 struct sx1509b_pin_state *pins = &drv_data->pin_state; in sx1509b_config()
425 void *data = &drv_data->pin_state.data; in port_write()
589 drv_data->pin_state = (struct sx1509b_pin_state) { in sx1509b_init()
604 drv_data->pin_state.data); in sx1509b_init()
608 drv_data->pin_state.dir); in sx1509b_init()
656 struct sx1509b_pin_state *pins = &drv_data->pin_state; in sx1509b_led_intensity_pin_configure()
/Zephyr-Core-3.5.0/drivers/bluetooth/hci/
Dspi.c230 int pin_state; in irq_pin_high() local
232 pin_state = gpio_pin_get_dt(&irq_gpio); in irq_pin_high()
234 LOG_DBG("IRQ Pin: %d", pin_state); in irq_pin_high()
236 return pin_state > 0; in irq_pin_high()