SSD1306 OLED display driver
1.8.2
This library is developed to control SSD1306/SSD1331/SSD1351/IL9163/PCD8554 RGB i2c/spi LED displays
|
#include <ssd1306_interface.h>
Public Attributes | |
uint8_t | spi |
void(* | start )(void) |
void(* | stop )(void) |
void(* | send )(uint8_t data) |
void(* | send_buffer )(const uint8_t *buffer, uint16_t size) |
Sends bytes to SSD1306 device. More... | |
void(* | close )(void) |
deinitializes internal resources, allocated for interface. More... | |
Describes low level hardware API
Definition at line 52 of file ssd1306_interface.h.
void(* ssd1306_interface_t::close) (void) |
deinitializes internal resources, allocated for interface.
Deinitializes internal resources, allocated for interface. There is no need to use this function for microcontrollers. In general the function has meaning in Linux-like systems.
Definition at line 88 of file ssd1306_interface.h.
void(* ssd1306_interface_t::send) (uint8_t data) |
Sends byte to SSD1306 device
data | - byte to send |
Definition at line 70 of file ssd1306_interface.h.
void(* ssd1306_interface_t::send_buffer) (const uint8_t *buffer, uint16_t size) |
Sends bytes to SSD1306 device.
Sends bytes to SSD1306 device. This functions gives ~ 30% performance increase than ssd1306_intf.send.
buffer | - bytes to send |
size | - number of bytes to send |
Definition at line 80 of file ssd1306_interface.h.
uint8_t ssd1306_interface_t::spi |
Indicates if spi or i2c interface is used.
Definition at line 57 of file ssd1306_interface.h.
void(* ssd1306_interface_t::start) (void) |
Starts communication with SSD1306 display.
Definition at line 61 of file ssd1306_interface.h.
void(* ssd1306_interface_t::stop) (void) |
Ends communication with SSD1306 display.
Definition at line 65 of file ssd1306_interface.h.