Microchip® Advanced Software Framework

resistive_touch_board.h File Reference

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
#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_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)

static hx8347a_color_t rgb24_to_rgb16 ( uint32_t  ul_color)
static

Referenced by lcd_init().