68 const uint16_t *color);
154 const uint16_t *color);
#define BACKLIGHT_OFF
Turn backlight off.
#define BACKLIGHT_ON
Turn backlight on.
uint8_t disp_dev_color_depth(const disp_dev_t *dev)
Get the color depth of the display device.
disp_dev_reg_t * disp_dev_reg_find_screen(uint8_t screen_id)
Find the display device that is attached to a given screen.
uint16_t disp_dev_height(const disp_dev_t *dev)
Get the height of the display device.
void disp_dev_map(const disp_dev_t *dev, const disp_dev_area_t *area, const uint16_t *color)
Map an area to display on the device.
static void disp_dev_backlight_off(void)
Disable the backlight pin.
int disp_dev_reg_add(disp_dev_reg_t *dev)
Add pointer to a display device item to the list of display items.
uint16_t disp_dev_width(const disp_dev_t *dev)
Get the width of the display device.
void disp_dev_set_invert(const disp_dev_t *dev, bool invert)
Invert the display device colors.
struct disp_dev_reg disp_dev_reg_t
Disp dev registry entry.
static void disp_dev_backlight_on(void)
Enable the backlight pin.
Display area coordinates.
uint16_t y1
Vertical start position (included)
uint16_t y2
Vertical end position (included)
uint16_t x1
Horizontal start position (included)
uint16_t x2
Horizontal end position (included)
Generic type for a display driver.
struct disp_dev_reg * next
pointer to the next display device in the list
disp_dev_t * dev
pointer to the device descriptor
uint8_t screen_id
id of the screen this display is attached to
Generic type for a display device.
const disp_dev_driver_t * driver
Pointer to driver of the display device.