Microchip® Advanced Software Framework

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 STRING_EOL
Definition: main.c:81
#define BOARD_NAME
Name string macro.
Definition: sam4l8_xplained_pro.h:86

Referenced by main().

static void ast_per_callback ( void  )
static
static void configure_console ( void  )
static
int main ( void  )

SAM4L QTouch example entry point.

Returns
Unused (ANSI-C compatibility).

References board_init(), configure_console(), EXAMPLE_KEY_ID, example_qtouch_init(), GET_QT_SENSOR_STATE, LED0, LED_Off, LED_On, STRING_HEADER, sysclk_init(), and touch_sensors_measure().