Lines Matching +full:1 +full:db
21 #define AUXDISPLAY_HD44780_BACKLIGHT_MAX 1
29 AUXDISPLAY_HD44780_MODE_8_BIT = 1,
86 gpio_pin_set_dt(&config->e_gpio, 1); in hd44780_pulse_enable_line()
127 int8_t ncommands = (mode == AUXDISPLAY_HD44780_MODE_4_BIT) ? 2 : 1; in auxdisplay_hd44780_command()
137 LOG_ERR("Configuration of db-gpios as inputs failed: %d", rc); in auxdisplay_hd44780_command()
141 hd44780_set_rs_rw_lines(dev, 0, 1); in auxdisplay_hd44780_command()
156 LOG_ERR("Configuration of db-gpios as outputs failed: %d", rc); in auxdisplay_hd44780_command()
164 gpio_pin_set_dt(&config->db_gpios[line], ((cmd & BIT(i)) ? 1 : 0)); in auxdisplay_hd44780_command()
208 if (config->capabilities.rows > 1) { in hd44780_ic_initialize()
257 LOG_ERR("Configuration of DB%d GPIO failed: %d", i, rc); in auxdisplay_hd44780_init()
262 LOG_ERR("Required DB%d pin missing (DB4-DB7 needed for 4-bit mode)", i); in auxdisplay_hd44780_init()
266 LOG_ERR("Required DB%d pin missing", i); in auxdisplay_hd44780_init()
484 *backlight = (data->backlight_state == true ? 1 : 0); in auxdisplay_hd44780_backlight_get()
579 data->character_x = config->capabilities.columns - 1; in auxdisplay_hd44780_write()
582 data->character_y = config->capabilities.rows - 1; in auxdisplay_hd44780_write()
644 .db_gpios[1] = GPIO_DT_SPEC_INST_GET_BY_IDX_OR(inst, data_bus_gpios, 1, {0}), \
652 .line_addresses[1] = DT_INST_PROP_BY_IDX(inst, line_addresses, 1), \