Home
last modified time | relevance | path

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

/Zephyr-latest/samples/drivers/lcd_hd44780/src/
Dmain.c161 uint8_t row_offsets[4]; member
170 .row_offsets = {0x00, 0x00, 0x00, 0x00}
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()
320 max_lines = ARRAY_SIZE(lcd_data.row_offsets); 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()
/Zephyr-latest/drivers/auxdisplay/
Dauxdisplay_serlcd.c181 static const uint8_t row_offsets[] = {0x00, 0x40, 0x14, 0x54}; in auxdisplay_serlcd_cursor_position_set() local
213 const uint8_t cursor_address = x + row_offsets[y]; in auxdisplay_serlcd_cursor_position_set()
230 const uint8_t cursor_address = column + row_offsets[row]; in auxdisplay_serlcd_cursor_position_set()