LCDGFX LCD display driver
1.1.5
This library is developed to control SSD1306/SSD1325/SSD1327/SSD1331/SSD1351/IL9163/PCD8554 RGB i2c/spi LED displays
|
#include <custom_interface.h>
Public Member Functions | |
_ICustom (int8_t dc=-1) | |
virtual | ~_ICustom () |
virtual void | begin () |
virtual void | end () |
virtual void | start () |
virtual void | stop () |
void | send (uint8_t data) |
void | sendBuffer (const uint8_t *buffer, uint16_t size) |
Sends bytes to custom interface. More... | |
Protected Member Functions | |
virtual void | transferToHw (const uint8_t *buffer, uint16_t size)=0 |
void | forceTransfer () |
int8_t | getDc () |
This is basic class for custom user-defined interfaces This is template, which accepts maximum number of bytes in interface buffer as template argument
Definition at line 38 of file custom_interface.h.
Creates instance of custom basic interface
Definition at line 44 of file custom_interface.h.
Destroys instance of custom basic interface
Definition at line 56 of file custom_interface.h.
|
inlinevirtual |
Initializes basic class for custom interface
Definition at line 67 of file custom_interface.h.
|
inlinevirtual |
Deinitializes basic class for custom interface
Definition at line 74 of file custom_interface.h.
|
inlineprotected |
Call this method to transfer data to hardware. This method is called automatically, when internal interface buffer is overflown.
Definition at line 134 of file custom_interface.h.
|
inlineprotected |
Returns number of D/C pin if used, or -1
Definition at line 143 of file custom_interface.h.
|
inline |
Sends byte to custom interface
data | - byte to send |
Definition at line 96 of file custom_interface.h.
|
inline |
Sends bytes to custom interface.
Sends bytes to custom interface.
buffer | - bytes to send |
size | - number of bytes to send |
Definition at line 114 of file custom_interface.h.
|
inlinevirtual |
Starts communication with the display over custom interface.
Definition at line 81 of file custom_interface.h.
|
inlinevirtual |
Ends communication with the display over custom interface..
Definition at line 88 of file custom_interface.h.
|
protectedpure virtual |
This function must implement actual sending of data to hardware interface