Searched refs:db_gpios (Results 1 – 1 of 1) sorted by relevance
/Zephyr-Core-3.5.0/drivers/auxdisplay/ |
D | auxdisplay_hd44780.c | 68 struct gpio_dt_spec db_gpios[8]; member 88 gpio_pin_set_dt(&config->db_gpios[i], ((cmd & BIT(i)) ? 1 : 0)); in auxdisplay_hd44780_command() 93 gpio_pin_set_dt(&config->db_gpios[i], ((cmd & BIT(i)) ? 1 : 0)); in auxdisplay_hd44780_command() 111 gpio_pin_set_dt(&config->db_gpios[(i + 4)], ((cmd & BIT(i)) ? 1 : 0)); in auxdisplay_hd44780_command() 165 if (config->db_gpios[i].port) { in auxdisplay_hd44780_init() 166 rc = gpio_pin_configure_dt(&config->db_gpios[i], GPIO_OUTPUT); in auxdisplay_hd44780_init() 567 .db_gpios[0] = GPIO_DT_SPEC_INST_GET_BY_IDX_OR(inst, data_bus_gpios, 0, {0}), \ 568 .db_gpios[1] = GPIO_DT_SPEC_INST_GET_BY_IDX_OR(inst, data_bus_gpios, 1, {0}), \ 569 .db_gpios[2] = GPIO_DT_SPEC_INST_GET_BY_IDX_OR(inst, data_bus_gpios, 2, {0}), \ 570 .db_gpios[3] = GPIO_DT_SPEC_INST_GET_BY_IDX_OR(inst, data_bus_gpios, 3, {0}), \ [all …]
|