Class Display::Driver::Driver
ClassList > Display > Driver > Driver
Inherited by the following classes: Display::Driver::MBED_SPI_DRIVER
Public Attributes
Type | Name |
---|---|
PinMap | pins |
Public Functions
Type | Name |
---|---|
Driver () |
|
Driver (PinMap pins) |
|
virtual void | clearBuffer () = 0 |
virtual uint16_t | getHeight () = 0 |
virtual uint16_t | getWidth () = 0 |
virtual void | initializeDisplay () = 0 |
virtual void | sendBufferToDisplay () = 0 |
virtual void | setBufferBlock (int16_t x, int16_t y, uint16_t width, uint16_t height, uint16_t color) = 0 |
virtual void | setBufferPixel (int16_t x, int16_t y, uint16_t color) = 0 |
virtual void | setRotation (Rotation rotation) = 0 |
virtual void | writeBitmapToBuffer (int16_t x, int16_t y, uint16_t width, uint16_t height, uint8_t * bitmap, BitmapOptions options=BitmapOptions()) = 0 |
virtual | ~Driver () |
Protected Functions
Type | Name |
---|---|
bool | cropBlock (int16_t & x, int16_t & y, uint16_t & width, uint16_t & height) |
Public Attributes Documentation
variable pins
Public Functions Documentation
function Driver [1/2]
function Driver [2/2]
function clearBuffer
function getHeight
function getWidth
function initializeDisplay
function sendBufferToDisplay
function setBufferBlock
virtual void Display::Driver::Driver::setBufferBlock (
int16_t x,
int16_t y,
uint16_t width,
uint16_t height,
uint16_t color
) = 0
function setBufferPixel
function setRotation
function writeBitmapToBuffer
virtual void Display::Driver::Driver::writeBitmapToBuffer (
int16_t x,
int16_t y,
uint16_t width,
uint16_t height,
uint8_t * bitmap,
BitmapOptions options=BitmapOptions ()
) = 0
function ~Driver
Protected Functions Documentation
function cropBlock
bool Display::Driver::Driver::cropBlock (
int16_t & x,
int16_t & y,
uint16_t & width,
uint16_t & height
)
The documentation for this class was generated from the following file src/Display.hpp