Atmel Software Framework

gfx_hx8347a_et024006dhu.h File Reference

Graphic service settings for the ET024006DHU panel using the HX8347A display controller.

This files includes the correct header files for the graphics service

Copyright (c) 2014-2015 Atmel Corporation. All rights reserved.

#include "hx8347a.h"

Macros

#define GFX_COLOR(r, g, b)   HX8347A_COLOR(r, g, b)
 
#define gfx_color(r, g, b)   gfx_hx8347a_color(r, g, b)
 HX8347A display driver specific function, see gfx_hx8347a_color. More...
 
#define GFX_COLOR_INVALID   GFX_COLOR(5, 5, 5)
 It is not possible to define a color that is outside the color spectrum for the HX8347A driver, hence use a dark color as an invalid color. More...
 
#define GFX_COLOR_TRANSPARENT   GFX_COLOR(240, 0, 240)
 It is not possible to define a color that is outside the color spectrum for the HX8347A driver, hence use a very uncommon strong magenta color as transparency mask color. More...
 
#define gfx_copy_pixels_from_screen(pixels, count)   hx8347a_copy_pixels_from_screen(pixels, count)
 HX8347A display driver specific function, see hx8347a_copy_pixels_from_screen. More...
 
#define gfx_copy_pixels_to_screen(pixels, count)   hx8347a_copy_pixels_to_screen(pixels, count)
 HX8347A display driver specific function, see hx8347a_copy_pixels_to_screen. More...
 
#define gfx_copy_progmem_pixels_to_screen(pixels, count)   hx8347a_copy_progmem_pixels_to_screen(pixels, count)
 HX8347A display driver specific function available for ATmega and ATXmega devices, see hx8347a_copy_progmem_pixels_to_screen. More...
 
#define gfx_draw_bitmap(bmp, x, y)   gfx_generic_draw_bitmap(bmp, x, y)
 HX8347A 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)
 HX8347A display driver uses generic gfx implementation for this function. More...
 
#define gfx_draw_circle(x, y, radius, color, octant_mask)   gfx_generic_draw_circle(x, y, radius, color, octant_mask)
 HX8347A display driver uses generic gfx implementation for this function. More...
 
#define gfx_draw_filled_circle(x, y, radius, color, quadrant_mask)
 HX8347A display driver uses generic gfx implementation for this function. More...
 
#define gfx_draw_filled_rect(x, y, width, height, color)   gfx_generic_draw_filled_rect(x, y, width, height, color)
 HX8347A display driver uses generic gfx implementation for this function. More...
 
#define gfx_draw_horizontal_line(x, y, length, color)   gfx_generic_draw_horizontal_line(x, y, length, color)
 HX8347A display driver uses generic gfx implementation for this function. More...
 
#define gfx_draw_line(x1, y1, x2, y2, color)   gfx_generic_draw_line(x1, y1, x2, y2, color)
 HX8347A display driver uses generic gfx implementation for this function. More...
 
#define gfx_draw_line_pixel(x, y, color)
 HX8347A display driver specific function, see gfx_hx8347a_draw_line_pixel. More...
 
#define gfx_draw_pixel(x, y, color)   gfx_hx8347a_draw_pixel(x, y, color)
 HX8347A display driver specific function, see gfx_hx8347a_draw_pixel. More...
 
#define gfx_draw_rect(x, y, width, height, color)   gfx_generic_draw_rect(x, y, width, height, color)
 HX8347A display driver uses generic gfx implementation for this function. More...
 
#define gfx_draw_vertical_line(x, y, length, color)   gfx_generic_draw_vertical_line(x, y, length, color)
 HX8347A display driver uses generic gfx implementation for this function. More...
 
#define gfx_duplicate_pixel(color, count)   hx8347a_duplicate_pixel(color, count)
 HX8347A display driver specific function, see hx8347a_duplicate_pixel. More...
 
#define gfx_get_pixel(x, y)   gfx_hx8347a_get_pixel(x, y)
 HX8347A display driver specific function, see gfx_hx8347a_get_pixel. More...
 
#define gfx_get_pixmap(pixmap, map_width, map_x, map_y, x, y, width, height)
 HX8347A display driver uses generic gfx implementation for this function. More...
 
#define gfx_init()   gfx_hx8347a_init()
 HX8347A display driver specific function, see gfx_hx8347a_init. More...
 
#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)
 HX8347A display driver uses generic gfx implementation for this function. More...
 
#define gfx_put_pixmap(pixmap, map_width, map_x, map_y, x, y, width, height)
 HX8347A display driver uses generic gfx implementation for this function. More...
 
#define gfx_set_bottom_right_limit(x, y)   hx8347a_set_bottom_right_limit(x, y)
 HX8347A display driver specific function, see hx8347a_set_bottom_right_limit. More...
 
#define gfx_set_ext_handler(ext_draw_handler)   gfx_generic_set_ext_handler(ext_draw_handler)
 HX8347A display driver uses generic gfx implementation for this function. More...
 
#define gfx_set_limits(x1, y1, x2, y2)   hx8347a_set_limits(x1, y1, x2, y2)
 HX8347A display driver specific function, see hx8347a_set_limits. More...
 
#define gfx_set_orientation(flags)   gfx_hx8347a_set_orientation(flags)
 HX8347A display driver specific function, see gfx_hx8347a_set_orientation. More...
 
#define gfx_set_top_left_limit(x, y)   hx8347a_set_top_left_limit(x, y)
 HX8347A display driver specific function, see hx8347a_set_top_left_limit. More...
 
#define gfx_sync()   gfx_generic_sync()
 HX8347A display driver uses generic gfx implementation for this function. More...
 

Typedefs

typedef hx8347a_color_t gfx_color_t
 
typedef hx8347a_coord_t gfx_coord_t
 

Functions

gfx_color_t gfx_hx8347a_color (uint8_t r, uint8_t g, uint8_t b)
 Generate native color value from R/G/B values. More...
 
void gfx_hx8347a_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_hx8347a_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_hx8347a_get_pixel (gfx_coord_t x, gfx_coord_t y)
 Get the color of a pixel on the display. More...
 
void gfx_hx8347a_init (void)
 Initialize the hx8347a display controller. More...
 
void gfx_hx8347a_set_orientation (uint8_t flags)
 Set display orientation. More...