31 static uint8_t s_column = 0;
32 static uint8_t s_page = 0;
34 extern uint16_t ssd1306_color;
36 static void vga_set_block1(lcduint_t x, lcduint_t y, lcduint_t w)
52 static void vga_next_page1(
void)
55 vga_set_block1(s_column,s_page+1,0);
58 static void vga_set_block2(lcduint_t x, lcduint_t y, lcduint_t w)
72 static void vga_next_page2(
void)
76 static void vga_send_pixels(uint8_t data)
78 for (uint8_t i=8; i>0; i--)
92 static void vga_send_pixels_buffer(
const uint8_t *buffer, uint16_t len)
96 vga_send_pixels(*buffer);
void(* send)(uint8_t data)
void(* set_block)(lcduint_t x, lcduint_t y, lcduint_t w)
Sets block in RAM of lcd display controller to write data to.
void(* send_pixels8)(uint8_t data)
Sends RGB pixel encoded in 3-3-2 format to OLED driver. Sends RGB pixel encoded in 3-3-2 format to OL...
void(* send_pixels_buffer1)(const uint8_t *buffer, uint16_t len)
void(* send_pixels1)(uint8_t data)
ssd1306_lcd_t ssd1306_lcd
void vga_128x64_mono_init(void)
Inits 128x64 monochrome VGA display.
ssd1306_interface_t ssd1306_intf
void(* send_buffer)(const uint8_t *buffer, uint16_t size)
Sends bytes to SSD1306 device.
void(* set_mode)(lcd_mode_t mode)
Sets library display mode for direct draw functions.
void vga_96x40_8colors_init(void)
Inits 96x40 color VGA display.