1+ #pragma once
2+
3+ #include <stdint.h>
4+
5+ enum ODROID_SD_ERR {
6+ ODROID_SD_ERR_BADFILE = 0x01 ,
7+ ODROID_SD_ERR_NOCARD = 0x02
8+ };
9+
10+ void ili9341_write_frame_gb (uint16_t * buffer , int scale );
11+ void ili9341_init ();
12+ void ili9341_poweroff ();
13+ void ili9341_prepare ();
14+ void send_reset_drawing (int left , int top , int width , int height );
15+ void send_continue_wait ();
16+ void send_continue_line (uint16_t * line , int width , int lineCount );
17+
18+ void ili9341_write_frame_sms (uint8_t * buffer , uint16_t color [], uint8_t isGameGear , uint8_t scale );
19+ void ili9341_write_frame_nes (uint8_t * buffer , uint16_t * myPalette , uint8_t scale );
20+
21+ void backlight_percentage_set (int value );
22+ //void ili9341_write_frame(uint16_t* buffer);
23+ void ili9341_write_frame_rectangle (short left , short top , short width , short height , uint16_t * buffer );
24+ void ili9341_clear (uint16_t color );
25+ void ili9341_write_frame_rectangleLE (short left , short top , short width , short height , uint16_t * buffer );
26+ void display_tasktonotify_set (int value );
27+
28+ int is_backlight_initialized ();
29+ void odroid_display_show_splash ();
30+ void odroid_display_drain_spi ();
31+ void odroid_display_lock_gb_display ();
32+ void odroid_display_unlock_gb_display ();
33+ void odroid_display_show_sderr (int errNum );
34+ void odroid_display_show_hourglass ();
35+ void odroid_display_lock_nes_display ();
36+ void odroid_display_unlock_nes_display ();
37+ void odroid_display_lock_sms_display ();
38+ void odroid_display_unlock_sms_display ();
39+
40+ void ili9341_write_frame_lnx (uint16_t * buffer );
41+ void ili9341_write_frame_atari2600 (uint8_t * buffer , uint16_t * palette , uint8_t isPal );
42+ void ili9341_write_frame_atari7800 (uint8_t * buffer , uint16_t * palette );
43+
44+ void odroid_display_lock ();
45+ void odroid_display_unlock ();
46+ void ili9341_write_frame_c64 (uint8_t * buffer , uint16_t * palette );
0 commit comments