Board specific definition for resistive touch example.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
#include "hx8347a.h"
Macros | |
#define | lcd_display_on hx8347a_display_on |
#define | lcd_draw_filled_rectangle hx8347a_draw_filled_rectangle |
#define | lcd_draw_string hx8347a_draw_string |
#define | lcd_fill hx8347a_fill |
#define | LCD_HEIGHT HX8347A_LCD_HEIGHT |
#define | lcd_set_foreground_color hx8347a_set_foreground_color |
#define | LCD_WIDTH HX8347A_LCD_WIDTH |
#define | UNI_COLOR_BLACK rgb24_to_rgb16(COLOR_BLACK) |
#define | UNI_COLOR_RED rgb24_to_rgb16(COLOR_RED) |
#define | UNI_COLOR_WHITE rgb24_to_rgb16(COLOR_WHITE) |
Functions | |
static void | lcd_init (void) |
static hx8347a_color_t | rgb24_to_rgb16 (uint32_t ul_color) |
#define lcd_display_on hx8347a_display_on |
Referenced by main().
#define lcd_draw_filled_rectangle hx8347a_draw_filled_rectangle |
Referenced by clear_calibration_point(), draw_calibration_point(), and main().
#define lcd_draw_string hx8347a_draw_string |
Referenced by rtouch_calibrate().
#define lcd_fill hx8347a_fill |
Referenced by rtouch_calibrate().
#define LCD_HEIGHT HX8347A_LCD_HEIGHT |
Referenced by main().
#define lcd_set_foreground_color hx8347a_set_foreground_color |
Referenced by clear_calibration_point(), draw_calibration_point(), main(), and rtouch_calibrate().
#define LCD_WIDTH HX8347A_LCD_WIDTH |
Referenced by main().
#define UNI_COLOR_BLACK rgb24_to_rgb16(COLOR_BLACK) |
Referenced by rtouch_calibrate().
#define UNI_COLOR_RED rgb24_to_rgb16(COLOR_RED) |
Referenced by draw_calibration_point().
#define UNI_COLOR_WHITE rgb24_to_rgb16(COLOR_WHITE) |
Referenced by clear_calibration_point(), main(), and rtouch_calibrate().
|
static |
References hx8347a_opt_t::background_color, COLOR_BLACK, COLOR_WHITE, CONF_BOARD_HX8347A_LCD_CS, hx8347a_opt_t::foreground_color, hx8347a_init(), HX8347A_LCD_HEIGHT, HX8347A_LCD_WIDTH, pmc_enable_periph_clk(), rgb24_to_rgb16(), smc_set_cycle_timing(), smc_set_mode(), smc_set_pulse_timing(), smc_set_setup_timing(), hx8347a_opt_t::ul_height, and hx8347a_opt_t::ul_width.
Referenced by main().
|
static |
Referenced by lcd_init().