Microchip® Advanced Software Framework

hx8347a_example.c File Reference

lcd controller HX8347A example.

Copyright (c) 2011-2018 Microchip Technology Inc. and its subsidiaries.

#include "asf.h"
#include "stdio_serial.h"
#include "conf_board.h"
#include "conf_clock.h"

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 void configure_console ( void  )
static

Configure UART console.

References uart_rs232_options::baudrate, stdio_serial_init(), and sysclk_enable_peripheral_clock().

Referenced by main().

static hx8347a_color_t rgb24_to_rgb16 ( uint32_t  ul_color)
static

Referenced by main().

struct hx8347a_opt_t g_hx8347a_display_opt

Referenced by main().