summaryrefslogtreecommitdiff
path: root/src/core/ao.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-10-11 23:28:02 -0600
committerKeith Packard <keithp@keithp.com>2011-10-11 23:28:02 -0600
commitbadda0d910c56135401dce9adc9e6abebdba2ad7 (patch)
treedc586762e7a12faa4240cf82f99691c04d08f57f /src/core/ao.h
parent47c2c0b79dc516d2566ae149605b7d70ef2dca98 (diff)
altos: Split out arch-specific bits of LCD driver
The arch-specific section just puts a single nibble to the device. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/core/ao.h')
-rw-r--r--src/core/ao.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/core/ao.h b/src/core/ao.h
index 94526bc3..c800f1fc 100644
--- a/src/core/ao.h
+++ b/src/core/ao.h
@@ -1668,8 +1668,36 @@ ao_companion_init(void);
/* ao_lcd.c */
void
+ao_lcd_putchar(uint8_t data);
+
+void
+ao_lcd_putstring(char *string);
+
+void
+ao_lcd_contrast_set(uint8_t contrast);
+
+void
+ao_lcd_clear(void);
+
+#define AO_LCD_ADDR(row,col) ((row << 6) | (col))
+
+void
+ao_lcd_goto(uint8_t addr);
+
+void
+ao_lcd_start(void);
+
+void
ao_lcd_init(void);
+/* ao_lcd_port.c */
+
+void
+ao_lcd_port_put_nibble(uint8_t rs, uint8_t data);
+
+void
+ao_lcd_port_init(void);
+
/* ao_aes.c */
__xdata uint8_t ao_aes_mutex;