Generic type for a display driver. More...
Generic type for a display driver.
Definition at line 48 of file disp_dev.h.
#include <disp_dev.h>
Data Fields | |
void(* | map )(const disp_dev_t *dev, uint16_t x1, uint16_t x2, uint16_t y1, uint16_t y2, const uint16_t *color) |
Map an area to display on the device. More... | |
uint16_t(* | height )(const disp_dev_t *dev) |
Get the height of the display device. More... | |
uint16_t(* | width )(const disp_dev_t *dev) |
Get the width of the display device. More... | |
uint8_t(* | color_depth )(const disp_dev_t *dev) |
Get the color depth of the display device. More... | |
void(* | set_invert )(const disp_dev_t *dev, bool invert) |
Invert the display device colors. More... | |
uint8_t(* disp_dev_driver_t::color_depth) (const disp_dev_t *dev) |
Get the color depth of the display device.
Definition at line 86 of file disp_dev.h.
uint16_t(* disp_dev_driver_t::height) (const disp_dev_t *dev) |
Get the height of the display device.
[in] | dev | Pointer to the display device |
Definition at line 70 of file disp_dev.h.
void(* disp_dev_driver_t::map) (const disp_dev_t *dev, uint16_t x1, uint16_t x2, uint16_t y1, uint16_t y2, const uint16_t *color) |
Map an area to display on the device.
[in] | dev | Pointer to the display device |
[in] | x1 | Left coordinate |
[in] | x2 | Right coordinate |
[in] | y1 | Top coordinate |
[in] | y2 | Bottom coordinate |
[in] | color | Array of color to map to the display |
Definition at line 59 of file disp_dev.h.
void(* disp_dev_driver_t::set_invert) (const disp_dev_t *dev, bool invert) |
Invert the display device colors.
[in] | dev | Network device descriptor |
[in] | invert | Invert mode (true if invert, false otherwise) |
Definition at line 94 of file disp_dev.h.
uint16_t(* disp_dev_driver_t::width) (const disp_dev_t *dev) |
Get the width of the display device.
[in] | dev | Pointer to the display device |
Definition at line 79 of file disp_dev.h.