Home
last modified time | relevance | path

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

/Zephyr-latest/samples/drivers/lcd_hd44780/src/
Dmain.c165 struct pi_lcd_data lcd_data = { variable
175 lcd_data.row_offsets[0] = row0; in _set_row_offsets()
176 lcd_data.row_offsets[1] = row1; in _set_row_offsets()
177 lcd_data.row_offsets[2] = row2; in _set_row_offsets()
178 lcd_data.row_offsets[3] = row3; in _set_row_offsets()
282 if (lcd_data.disp_func & LCD_8BIT_MODE) { in _pi_lcd_data()
320 max_lines = ARRAY_SIZE(lcd_data.row_offsets); in pi_lcd_set_cursor()
324 if (row >= lcd_data.cfg_rows) { in pi_lcd_set_cursor()
325 row = lcd_data.cfg_rows - 1; /* Count rows starting w/0 */ in pi_lcd_set_cursor()
327 _pi_lcd_command(gpio_dev, (LCD_SET_DDRAM_ADDR | (col + lcd_data.row_offsets[row]))); in pi_lcd_set_cursor()
[all …]