Home
last modified time | relevance | path

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

/Zephyr-latest/boards/nxp/imx93_evk/
Dboard.c25 uint32_t pin_state = DT_ENUM_IDX(BOARD_EXP_SEL_NODE, mux); in board_init_exp_sel() local
33 if (pin_state != BOARD_EXP_SEL_MUX_A) { in board_init_exp_sel()
35 pin_state = BOARD_EXP_SEL_MUX_A; in board_init_exp_sel()
39 rc = gpio_pin_configure_dt(&mux, pin_state); in board_init_exp_sel()
44 LOG_INF("EXP_SEL mux %c with priority %d", pin_state ? 'B' : 'A', in board_init_exp_sel()
/Zephyr-latest/drivers/bluetooth/hci/
Dapollox_blue.c78 int pin_state; in irq_pin_state() local
80 pin_state = gpio_pin_get_dt(&irq_gpio); in irq_pin_state()
81 LOG_DBG("IRQ Pin: %d", pin_state); in irq_pin_state()
82 return pin_state > 0; in irq_pin_state()
87 int pin_state; in clkreq_pin_state() local
89 pin_state = gpio_pin_get_dt(&clkreq_gpio); in clkreq_pin_state()
90 LOG_DBG("CLKREQ Pin: %d", pin_state); in clkreq_pin_state()
91 return pin_state > 0; in clkreq_pin_state()
/Zephyr-latest/drivers/gpio/
Dgpio_pca953x.c55 struct pca953x_pin_state pin_state; member
95 drv_data->pin_state.input = input_states; in update_input()
128 previous_state = drv_data->pin_state.input; in gpio_pca953x_handle_interrupt()
135 current_state = drv_data->pin_state.input; in gpio_pca953x_handle_interrupt()
188 struct pca953x_pin_state *pins = &drv_data->pin_state; in gpio_pca953x_config()
272 drv_data->pin_state.input = input_pin_data; in gpio_pca953x_port_read()
273 *value = (gpio_port_value_t)(drv_data->pin_state.input); in gpio_pca953x_port_read()
287 uint8_t *outp = &drv_data->pin_state.output; in gpio_pca953x_port_write()
495 .pin_state.dir = ALL_PINS, \
496 .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-latest/drivers/input/
Dinput_gpio_keys.c22 int8_t pin_state; member
36 int8_t pin_state; member
75 pin_data->cb_data.pin_state, new_pressed, key_index); in gpio_keys_poll_pin()
78 if (new_pressed != pin_data->cb_data.pin_state) { in gpio_keys_poll_pin()
79 pin_data->cb_data.pin_state = new_pressed; in gpio_keys_poll_pin()
155 cb->pin_state = gpio_pin_get_dt(gpio_spec); in gpio_keys_interrupt_configure()