Graphic service settings for the ET024006DHU panel using the HX8347A display controller over EBI.
This files includes the correct header files for the grapics service
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
#include "et024006dhu.h"
Macros | |
#define | gfx_color(r, g, b) gfx_et024006dhu_color(r, g, b) |
ET024006DHU display driver specific function, see gfx_et024006dhu_color. More... | |
#define | gfx_copy_pixels_from_screen(pixels, count) et024006_CopyPixelsFromScreen(pixels, count) |
ET024006DHU display driver specific function, see et024006_CopyPixelsFromScreen. More... | |
#define | gfx_copy_pixels_to_screen(pixels, count) et024006_CopyPixelsToScreen(pixels, count) |
ET024006DHU display driver specific function, see et024006_CopyPixelsToScreen. More... | |
#define | gfx_copy_progmem_pixels_to_screen(pixels, count) et024006_CopyPixelsToScreen(pixels, count) |
ET024006DHU display driver specific function available for ATmega and ATXmega devices, see et024006_CopyPixelsToScreen. More... | |
#define | gfx_draw_bitmap(bmp, x, y) gfx_generic_draw_bitmap(bmp, x, y) |
ET024006DHU display driver uses generic gfx implementation for this function. More... | |
#define | gfx_draw_bitmap_tiled(bmp, x1, y1, x2, y2, tile_origin_x, tile_origin_y) |
ET024006DHU display driver uses generic gfx implementation for this function. More... | |
#define | gfx_draw_line_pixel(x, y, color) gfx_et024006dhu_draw_line_pixel(x, y, color) |
ET024006DHU display driver specific function, see gfx_et024006dhu_draw_line_pixel. More... | |
#define | gfx_draw_pixel(x, y, color) gfx_et024006dhu_draw_pixel(x, y, color) |
ET024006DHU display driver specific function, see gfx_et024006dhu_draw_pixel. More... | |
#define | gfx_duplicate_pixel(color, count) et024006_DuplicatePixel(color, count) |
ET024006DHU display driver specific function, see et024006_DuplicatePixel. More... | |
#define | gfx_get_pixel(x, y) gfx_et024006dhu_get_pixel(x, y) |
ET024006DHU display driver specific function, see gfx_et024006dhu_get_pixel. More... | |
#define | gfx_init() gfx_et024006dhu_init() |
ET024006DHU display driver specific function, see gfx_et024006dhu_init() More... | |
#define | GFX_PANELHEIGHT ET024006_HEIGHT |
#define | GFX_PANELWIDTH ET024006_WIDTH |
#define | gfx_put_bitmap(bmp, map_x, map_y, x, y, width, height) gfx_generic_put_bitmap(bmp, map_x, map_y, x, y, width, height) |
ET024006DHU display driver uses generic gfx implementation for this function. More... | |
#define | gfx_set_bottom_right_limit(x, y) et024006_SetQuickLimits2(x, y) |
ET024006DHU display driver specific function, see et024006_SetQuickLimits2. More... | |
#define | gfx_set_limits(x1, y1, x2, y2) et024006_SetLimits(x1, y1, x2, y2) |
ET024006DHU display driver specific function, see et024006_SetLimits. More... | |
#define | gfx_set_orientation(flags) gfx_et024006dhu_set_orientation(flags) |
ET024006DHU display driver specific function, see gfx_et024006dhu_set_orientation. More... | |
#define | gfx_set_top_left_limit(x, y) et024006_SetQuickLimits(x, y) |
ET024006DHU display driver specific function, see et024006_SetQuickLimits. More... | |
Graphics Drawing Primitives | |
#define | gfx_draw_horizontal_line(x, y, length, color) gfx_generic_draw_horizontal_line(x, y, length, color) |
Draw a horizontal line, one pixel wide. More... | |
#define | gfx_draw_vertical_line(x, y, length, color) gfx_generic_draw_vertical_line(x, y, length, color) |
Draw a vertical line, one pixel wide. More... | |
#define | gfx_draw_line(x1, y1, x2, y2, color) gfx_generic_draw_line(x1, y1, x2, y2, color) |
Draw a line between two arbitrary points. More... | |
#define | gfx_draw_rect(x, y, width, height, color) gfx_generic_draw_rect(x, y, width, height, color) |
Draw an outline of a rectangle. More... | |
#define | gfx_draw_filled_rect(x, y, width, height, color) gfx_generic_draw_filled_rect(x, y, width, height, color) |
Draw a filled rectangle. More... | |
#define | gfx_draw_circle(x, y, radius, color, octant_mask) gfx_generic_draw_circle(x, y, radius, color, octant_mask) |
Draw an outline of a circle or arc. More... | |
#define | gfx_draw_filled_circle(x, y, radius, color, quadrant_mask) |
Draw a filled circle or sector. More... | |
#define | gfx_get_pixmap(pixmap, map_width, map_x, map_y, x, y, width, height) |
Read a rectangular block of pixels from the screen into data memory. More... | |
#define | gfx_put_pixmap(pixmap, map_width, map_x, map_y, x, y, width, height) |
Write a rectangular block of pixels stored in data memory to the screen. More... | |
Functions | |
gfx_color_t | gfx_et024006dhu_color (uint8_t r, uint8_t g, uint8_t b) |
Generate native color value from R/G/B values. More... | |
void | gfx_et024006dhu_draw_line_pixel (gfx_coord_t x, gfx_coord_t y, gfx_color_t color) |
Draw a single pixel on the screen. More... | |
void | gfx_et024006dhu_draw_pixel (gfx_coord_t x, gfx_coord_t y, gfx_color_t color) |
Draw a single pixel on the screen. More... | |
gfx_color_t | gfx_et024006dhu_get_pixel (gfx_coord_t x, gfx_coord_t y) |
Get the color of a pixel on the display. More... | |
void | gfx_et024006dhu_init (void) |
Initialize the et024006dhu display controller. More... | |
void | gfx_et024006dhu_set_orientation (uint8_t flags) |
Set display orientation. More... | |
Driver-specific Definitions | |
#define | GFX_COLOR(r, g, b) |
Generate a display-native color value from constant RGB components. More... | |
#define | GFX_COLOR_INVALID GFX_COLOR(0, 0, 0) |
Value returned by gfx_get_pixel() for pixels outside clipping region. More... | |
#define | GFX_COLOR_TRANSPARENT GFX_COLOR(254, 0, 0) |
Value used as input to font functions to give a transparent background region. More... | |
typedef et024006_color_t | gfx_color_t |
Data type for color values native to the display. More... | |
typedef uint16_t | gfx_coord_t |
Data type representing a coordinate on the screen. More... | |