hd44780_common.h (2545c1c948a6a765f1a0e820c7598138b36f67ef) hd44780_common.h (3fc04dd7eb77b54228a17753ec01128417433e46)
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2
3#define DEFAULT_LCD_BWIDTH 40
4#define DEFAULT_LCD_HWIDTH 64
5
6struct hd44780_common {
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2
3#define DEFAULT_LCD_BWIDTH 40
4#define DEFAULT_LCD_HWIDTH 64
5
6struct hd44780_common {
7 int ifwidth; /* 4-bit or 8-bit (default) */
7 int bwidth; /* Default set by hd44780_alloc() */
8 int hwidth; /* Default set by hd44780_alloc() */
9 void *hd44780;
10};
11
12struct hd44780_common *hd44780_common_alloc(void);
8 int bwidth; /* Default set by hd44780_alloc() */
9 int hwidth; /* Default set by hd44780_alloc() */
10 void *hd44780;
11};
12
13struct hd44780_common *hd44780_common_alloc(void);