30 void hd44780_wait_ready(
bool islong);
35 void hd44780_init(
void);
40 void hd44780_powerdown(
void);
44 #define hd44780_outcmd(n) hd44780_outbyte((n), 0)
47 #define hd44780_outdata(n) hd44780_outbyte((n), 1)
50 #define hd44780_incmd() hd44780_inbyte(0)
53 #define hd44780_indata() hd44780_inbyte(1)
61 #define HD44780_HOME \
68 #define HD44780_ENTMODE(inc, shift) \
69 (0x04 | ((inc)? 0x02: 0) | ((shift)? 1: 0))
75 #define HD44780_DISPCTL(disp, cursor, blink) \
76 (0x08 | ((disp)? 0x04: 0) | ((cursor)? 0x02: 0) | ((blink)? 1: 0))
82 #define HD44780_SHIFT(shift, right) \
83 (0x10 | ((shift)? 0x08: 0) | ((right)? 0x04: 0))
90 #define HD44780_FNSET(if8bit, twoline, font5x10) \
91 (0x20 | ((if8bit)? 0x10: 0) | ((twoline)? 0x08: 0) | \
92 ((font5x10)? 0x04: 0))
97 #define HD44780_CGADDR(addr) \
98 (0x40 | ((addr) & 0x3f))
103 #define HD44780_DDADDR(addr) \
104 (0x80 | ((addr) & 0x7f))
unsigned char uint8_t
Definition: stdint.h:79
Automatically generated by Doxygen 1.8.7 on Tue Jul 8 2014. Dash Docset conversion by Matt Kane