28 #ifndef _LCD_COMMON_H_
29 #define _LCD_COMMON_H_
114 void (*set_block)(lcduint_t x, lcduint_t y, lcduint_t w);
122 void (*next_page)(void);
128 void (*send_pixels1)(uint8_t data);
135 void (*send_pixels_buffer1)(
const uint8_t *buffer, uint16_t len);
142 void (*send_pixels8)(uint8_t data);
169 #define s_displayHeight ssd1306_lcd.height
175 #define s_displayWidth ssd1306_lcd.width
181 #define g_lcd_type ssd1306_lcd.type
208 #define ssd1306_setRamBlock ssd1306_lcd.set_block
217 #define ssd1306_nextRamPage ssd1306_lcd.next_page
224 #define ssd1306_sendPixels ssd1306_lcd.send_pixels1
232 #define ssd1306_sendPixelsBuffer ssd1306_lcd.send_pixels_buffer1
240 #define ssd1306_sendPixel8 ssd1306_lcd.send_pixels8
void ssd1306_setMode(lcd_mode_t mode)
Sets library display mode for direct draw functions.
void ssd1306_configureSpiDisplay(const uint8_t *config, uint8_t configSize)
Sends configuration being passed to lcd display spi controller.
void ssd1306_configureI2cDisplay(const uint8_t *config, uint8_t configSize)
Sends configuration being passed to lcd display i2c/spi controller.
ssd1306_lcd_t ssd1306_lcd
void ssd1306_sendData(uint8_t data) __attribute__((deprecated))