Microchip® Advanced Software Framework

uc3-a3_xplained_demo.h File Reference

UC3-A3 Xplained demonstration application.

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

Functions

void touch_handler (void)
 Measure touch sensors and do appropriate action. More...
 
void touch_init (void)
 Initialize touch sensors. More...
 

void touch_init ( void  )

Initialize touch sensors.

The touch channels are connected on the GPIO controller 4 which is a part of port X

Touch Button: GPIO 98 SNSK1 CHANNEL1_SNS 99 SNS1 CHANNEL1_SNSK

Touch Slider: 100 SNS0 CHANNEL2_SNS 101 SNSK0 CHANNEL2_SNSK 102 SNS1 CHANNEL3_SNS 103 SNSK1 CHANNEL3_SNSK 104 SNS2 CHANNEL4_SNS 105 SNSK2 CHANNEL4_SNSK

References CHANNEL_1, CHANNEL_2, CHANNEL_4, HYST_12_5, init_timer(), NO_AKS_GROUP, QDebug_Init(), QDebug_ProcessCommands(), qt_enable_key(), qt_enable_slider(), qt_init_sensing, qt_set_parameters(), RES_8_BIT, and sysclk_enable_peripheral_clock().

Referenced by main().