lcd controller HX8347A example.
Copyright (c) 2011-2018 Microchip Technology Inc. and its subsidiaries.
Functions | |
static void | configure_console (void) |
Configure UART console. More... | |
int | main (void) |
Application entry point for smc_lcd example. More... | |
static hx8347a_color_t | rgb24_to_rgb16 (uint32_t ul_color) |
Variables | |
struct hx8347a_opt_t | g_hx8347a_display_opt |
|
static |
Configure UART console.
References uart_rs232_options::baudrate, stdio_serial_init(), and sysclk_enable_peripheral_clock().
Referenced by main().
int main | ( | void | ) |
Application entry point for smc_lcd example.
References AAT31XX_AVG_BACKLIGHT_LEVEL, aat31xx_disable_backlight(), aat31xx_set_backlight(), hx8347a_opt_t::background_color, board_init(), COLOR_BLACK, COLOR_BLUE, COLOR_GREEN, COLOR_RED, COLOR_VIOLET, COLOR_WHITE, configure_console(), hx8347a_opt_t::foreground_color, g_hx8347a_display_opt, hx8347a_display_on(), hx8347a_draw_circle(), hx8347a_draw_filled_rectangle(), hx8347a_draw_line(), hx8347a_draw_rectangle(), hx8347a_draw_string(), hx8347a_init(), HX8347A_LCD_HEIGHT, HX8347A_LCD_WIDTH, hx8347a_set_foreground_color(), pmc_enable_periph_clk(), rgb24_to_rgb16(), smc_set_cycle_timing(), smc_set_mode(), smc_set_pulse_timing(), smc_set_setup_timing(), sysclk_init(), hx8347a_opt_t::ul_height, and hx8347a_opt_t::ul_width.
|
static |
Referenced by main().
struct hx8347a_opt_t g_hx8347a_display_opt |
Referenced by main().