HX8347A display controller driver Example 2.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
#include <asf.h>
Macros | |
#define | HX8347A_BLACK HX8347A_COLOR(0 , 0, 0) |
#define | HX8347A_BLUE HX8347A_COLOR(0 , 0, 255) |
#define | HX8347A_GRAY HX8347A_COLOR(128, 128, 128) |
#define | HX8347A_GREEN HX8347A_COLOR(0 , 255, 0) |
#define | HX8347A_RED HX8347A_COLOR(255, 0, 0) |
#define | HX8347A_WHITE HX8347A_COLOR(255, 255, 255) |
#define | TOTAL_PIXELS ((uint32_t)HX8347A_DEFAULT_WIDTH * HX8347A_DEFAULT_HEIGHT) |
Number of pixels for full screen. More... | |
Functions | |
int | main (void) |
The main application routine. More... | |
#define HX8347A_BLACK HX8347A_COLOR(0 , 0, 0) |
Referenced by main().
#define HX8347A_BLUE HX8347A_COLOR(0 , 0, 255) |
Referenced by main().
#define HX8347A_GRAY HX8347A_COLOR(128, 128, 128) |
Referenced by main().
#define HX8347A_GREEN HX8347A_COLOR(0 , 255, 0) |
Referenced by main().
#define HX8347A_RED HX8347A_COLOR(255, 0, 0) |
Referenced by main().
#define HX8347A_WHITE HX8347A_COLOR(255, 255, 255) |
Referenced by main().
#define TOTAL_PIXELS ((uint32_t)HX8347A_DEFAULT_WIDTH * HX8347A_DEFAULT_HEIGHT) |
Number of pixels for full screen.
Referenced by main().
int main | ( | void | ) |
The main application routine.
References board_init(), hx8347a_backlight_on(), HX8347A_BLACK, HX8347A_BLUE, HX8347A_DEFAULT_HEIGHT, HX8347A_DEFAULT_WIDTH, hx8347a_duplicate_pixel(), HX8347A_GRAY, HX8347A_GREEN, hx8347a_init(), HX8347A_RED, hx8347a_set_bottom_right_limit(), hx8347a_set_top_left_limit(), HX8347A_WHITE, sysclk_init(), and TOTAL_PIXELS.