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