2017-07-09 | Paul Boddie | raw annotate files changeset graph | Continued the parameterisation of the LCD configuration activity. |
1 #ifndef __LCD_H__ 2 #define __LCD_H__ 3 4 #include <stdint.h> 5 6 #define LCD_BASE_KSEG1 0xB3050000 7 8 /* Initialisation functions. */ 9 10 void lcd_init(); 11 12 /* Output functions. */ 13 14 uint32_t get_bitmap_value(uint16_t, uint32_t); 15 void set_pixel(uint16_t, uint16_t, uint32_t); 16 void test_pixel(uint16_t, uint16_t, uint16_t); 17 void clear_pixel(uint16_t, uint16_t); 18 19 void test_pattern(); 20 21 #endif /* __LCD_H__ */