Microchip® Advanced Software Framework

thirdparty/qtouch/devspecific/sam4/sam4l/examples/main.c File Reference

SAM4L QTouch Example.

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

#include "asf.h"
#include "conf_example.h"

Macros

#define STRING_EOL   "\r"
 
#define STRING_HEADER
 

Functions

static void ast_per_callback (void)
 
static void configure_console (void)
 Configure UART console. More...
 
static void example_qtouch_init (void)
 
int main (void)
 SAM4L QTouch example entry point. More...
 

#define STRING_EOL   "\r"
#define STRING_HEADER
Value:
"-- SAM4L QTouch Example --\r\n" \
"-- "BOARD_NAME" --\r\n" \
"-- Compiled: "__DATE__" "__TIME__" --"STRING_EOL
#define BOARD_NAME
Definition: inc/app_init.h:140
#define STRING_EOL
Definition: thirdparty/qtouch/devspecific/sam4/sam4l/examples/main.c:81

Referenced by main().

static void ast_per_callback ( void  )
static
static void configure_console ( void  )
static

Configure UART console.

References uart_rs232_options::baudrate, and stdio_serial_init().

Referenced by main().

int main ( void  )

SAM4L QTouch example entry point.

Returns
Unused (ANSI-C compatibility).

References board_init(), configure_console(), example_qtouch_init(), GET_QT_SENSOR_STATE, STRING_HEADER, sysclk_init(), and touch_sensors_measure().