2017-07-09 | Paul Boddie | raw annotate files changeset graph | Make LCD register access relative to a supplied base parameter. |
1 #ifndef __LCD_H__ 2 #define __LCD_H__ 3 4 #include <stdint.h> 5 6 /* Initialisation functions. */ 7 8 void lcd_init(); 9 10 /* Output functions. */ 11 12 uint32_t get_bitmap_value(uint16_t, uint32_t); 13 void set_pixel(uint16_t, uint16_t, uint32_t); 14 void test_pixel(uint16_t, uint16_t, uint16_t); 15 void clear_pixel(uint16_t, uint16_t); 16 17 void test_pattern(); 18 19 #endif /* __LCD_H__ */