30 extern uint16_t ssd1306_color;
31 extern uint8_t s_ssd1306_invertByte;
32 extern lcduint_t ssd1306_cursorX;
33 extern lcduint_t ssd1306_cursorY;
35 #ifdef CONFIG_SSD1306_UNICODE_ENABLE 36 extern uint8_t g_ssd1306_unicode;
46 uint32_t count = (w * h) << 1;
63 uint16_t blackColor = s_ssd1306_invertByte ? ssd1306_color : 0x00;
64 uint16_t color = s_ssd1306_invertByte ? 0x00 : ssd1306_color;
71 uint8_t data = *bitmap;
143 void ssd1306_drawLine16(lcdint_t x1, lcdint_t y1, lcdint_t x2, lcdint_t y2)
145 lcduint_t dx = x1 > x2 ? (x1 - x2): (x2 - x1);
146 lcduint_t dy = y1 > y2 ? (y1 - y2): (y2 - y1);
161 x1 < x2 ? x1++: x1--;
179 if (y1 < y2) y1++;
else y1--;
205 uint16_t count = (x2 - x1 + 1) * (y2 - y1 + 1);
216 uint16_t blackColor = s_ssd1306_invertByte ? ssd1306_color : 0x00;
217 uint16_t color = s_ssd1306_invertByte ? 0x00 : ssd1306_color;
224 uint8_t data = pgm_read_byte( bitmap );
247 uint32_t count = (w) * (h);
#define RGB_COLOR16(r, g, b)
void ssd1306_fillScreen16(uint16_t fill_Data)
void(* send)(uint8_t data)
void ssd1306_drawBitmap16(lcdint_t xpos, lcdint_t ypos, lcduint_t w, lcduint_t h, const uint8_t *bitmap)
void ssd1306_drawRect16(lcdint_t x1, lcdint_t y1, lcdint_t x2, lcdint_t y2)
void ssd1306_putColorPixel16(lcdint_t x, lcdint_t y, uint16_t color)
void(* send_pixels16)(uint16_t data)
Sends RGB pixel encoded in 5-6-5 format to OLED driver. Sends RGB pixel encoded in 5-6-5 format to OL...
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 ssd1306_drawMonoBuffer16(lcdint_t xpos, lcdint_t ypos, lcduint_t w, lcduint_t h, const uint8_t *bitmap)
void ssd1306_setRgbColor16(uint8_t r, uint8_t g, uint8_t b)
Sets default color.
void ssd1306_drawBufferFast16(lcdint_t x, lcdint_t y, lcduint_t w, lcduint_t h, const uint8_t *data)
ssd1306_lcd_t ssd1306_lcd
void ssd1306_fillRect16(lcdint_t x1, lcdint_t y1, lcdint_t x2, lcdint_t y2)
void ssd1306_putPixel16(lcdint_t x, lcdint_t y)
ssd1306_interface_t ssd1306_intf
SFixedFontInfo s_fixedFont
void ssd1306_drawHLine16(lcdint_t x1, lcdint_t y1, lcdint_t x2)
void ssd1306_clearScreen16(void)
void ssd1306_drawMonoBitmap16(lcdint_t xpos, lcdint_t ypos, lcduint_t w, lcduint_t h, const uint8_t *bitmap)
#define ssd1306_swap_data(a, b, type)
void ssd1306_drawVLine16(lcdint_t x1, lcdint_t y1, lcdint_t y2)