Generic type for a display driver. More...
Generic type for a display driver.
Definition at line 58 of file disp_dev.h.
#include <disp_dev.h>
Data Fields | |
void(* | map )(const disp_dev_t *dev, const disp_dev_area_t *area, const uint16_t *color) |
Map an area to display on the device. | |
uint16_t(* | height )(const disp_dev_t *dev) |
Get the height of the display device. | |
uint16_t(* | width )(const disp_dev_t *dev) |
Get the width of the display device. | |
uint8_t(* | color_depth )(const disp_dev_t *dev) |
Get the color depth of the display device. | |
void(* | set_invert )(const disp_dev_t *dev, bool invert) |
Invert the display device colors. | |
uint8_t(* disp_dev_driver_t::color_depth) (const disp_dev_t *dev) |
Get the color depth of the display device.
Definition at line 93 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 77 of file disp_dev.h.
void(* disp_dev_driver_t::map) (const disp_dev_t *dev, const disp_dev_area_t *area, const uint16_t *color) |
Map an area to display on the device.
[in] | dev | Pointer to the display device |
[in] | area | Coordinates of display area |
[in] | color | Array of color to map to the display |
Definition at line 66 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 101 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 86 of file disp_dev.h.