Microchip® Advanced Software Framework

conf_rtouch.h File Reference
#include <board.h>

Macros

#define RTOUCH_ADC_INT_LEVEL   AVR32_INTC_INTLEVEL_INT0
 Interrupt priority for the resistive touch driver. More...
 
#define RTOUCH_OVERSAMPLING   32
 Sample count per signal line. More...
 
#define RTOUCH_SAMPLESCALE   5
 Number of right shifts required to scale down to 10 bits after oversampling. More...
 
#define TOUCH_DETECT_SLEEP_MODE   SLEEPMGR_SAVE
 Deepest sleep mode allowed when waiting for touch detect. More...
 
#define TOUCH_SAMPLE_SLEEP_MODE   SLEEPMGR_IDLE
 Deepest sleep mode allowed when sampling. More...
 
#define TOUCH_USE_IMMEDIATE_RESAMPLE   1
 Set to 0 if the timer module should be used for delayed resampling. More...
 

#define RTOUCH_ADC_INT_LEVEL   AVR32_INTC_INTLEVEL_INT0

Interrupt priority for the resistive touch driver.

Referenced by rtouch_prepare_adc().

#define RTOUCH_OVERSAMPLING   32

Sample count per signal line.

Referenced by rtouch_adc_int_handler().

#define RTOUCH_SAMPLESCALE   5

Number of right shifts required to scale down to 10 bits after oversampling.

Referenced by rtouch_process_samples().

#define TOUCH_DETECT_SLEEP_MODE   SLEEPMGR_SAVE

Deepest sleep mode allowed when waiting for touch detect.

#define TOUCH_SAMPLE_SLEEP_MODE   SLEEPMGR_IDLE

Deepest sleep mode allowed when sampling.

#define TOUCH_USE_IMMEDIATE_RESAMPLE   1

Set to 0 if the timer module should be used for delayed resampling.