2017-07-09 | Paul Boddie | raw annotate files changeset graph | Moved initialisation details to the generic LCD module, changing the address computation functions to use information from the display structure. Moved clock and power management operations into the generic LCD module, thus focusing the jz4740 LCD module on specific LCD-related functionality. |
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__ */