Atmel Software Framework

qt1081_example.c File Reference
#include <avr32/io.h>
#include "compiler.h"
#include "board.h"
#include "pm.h"
#include "gpio.h"
#include "eic.h"
#include "qt1081.h"
#include "intc.h"

Macros

#define INT_MODE   INT_MODE_EIC
 
#define INT_MODE_EIC   0
 
#define INT_MODE_GPIO   1
 
#define is_touch_center()   is_touch_sensor_4()
 
#define is_touch_down()   is_touch_sensor_1()
 
#define is_touch_left()   is_touch_sensor_3()
 
#define is_touch_right()   is_touch_sensor_2()
 
#define is_touch_up()   is_touch_sensor_0()
 

Functions

int main (void)
 
void touch_button_isr (void)
 

Variables

eic_options_t eic_options [2]
 Structure holding the configuration parameters of the EIC module. More...
 

#define INT_MODE   INT_MODE_EIC
#define INT_MODE_EIC   0
#define INT_MODE_GPIO   1
#define is_touch_center ( )    is_touch_sensor_4()

Referenced by touch_button_isr().

#define is_touch_down ( )    is_touch_sensor_1()

Referenced by touch_button_isr().

#define is_touch_left ( )    is_touch_sensor_3()

Referenced by touch_button_isr().

#define is_touch_right ( )    is_touch_sensor_2()

Referenced by touch_button_isr().

#define is_touch_up ( )    is_touch_sensor_0()

Referenced by touch_button_isr().

eic_options_t eic_options[2]

Structure holding the configuration parameters of the EIC module.