Atmel Software Framework

common/services/usb/class/hid/device/generic/example_hid_qtouch/touch.h File Reference

Declaration of functions for touch interfacing.

Copyright (c) 2014-2015 Atmel Corporation. All rights reserved.

Functions

bool check_touch_key_pressed (void)
 Checks whether the QTouch key is pressed. More...
 
void touch_init (void)
 Configures touch library and measurement setup. More...
 

bool check_touch_key_pressed ( void  )

Checks whether the QTouch key is pressed.

void touch_init ( void  )

Configures touch library and measurement setup.

Note
Interrupts must be enabled in order to trigger regular measurements The touch configuration requires a fixed CPU speed to work properly in this case we need 2 MHz.

Configures touch library and measurement setup.

Configure QTouch library and measurement setup.

Precondition
Interrupts must be enabled in order to trigger regular measurements The touch configuration requires a fixed CPU speed to work properly in this case we need 2 MHz.