conf_rtouch.h File Reference

#include "board.h"

Go to the source code of this file.

Defines

#define RTOUCH_ADC   AVR32_ADCIFA
 AVR32 ADC module used for touch panel sampling.
#define RTOUCH_ADC_INT_LEVEL   1
#define RTOUCH_ADC_IRQ   AVR32_ADCIFA_SEQUENCER0_IRQ
#define RTOUCH_ADC_XH_CHANNEL   AVR32_ADCIFA_INP_ADCIN1
#define RTOUCH_ADC_XL_CHANNEL   AVR32_ADCIFA_INN_ADCIN15
#define RTOUCH_ADC_YH_CHANNEL   AVR32_ADCIFA_INP_ADCIN0
#define RTOUCH_ADC_YL_CHANNEL   AVR32_ADCIFA_INN_ADCIN13
#define RTOUCH_OVERSAMPLING   4
 Sample count per signal line.
#define RTOUCH_SAMPLESCALE   2
 Number of right shifts required to scale down to 10 bits after oversampling.
#define RTOUCH_XH_PIN   AVR32_ADCIN1_PIN
 IO pin used for XL line.
#define RTOUCH_XH_PIN_FUNCTION   AVR32_ADCIN1_FUNCTION
#define RTOUCH_XL_PIN   AVR32_ADCIN15_PIN
 IO pin used for XH line.
#define RTOUCH_XL_PIN_FUNCTION   AVR32_ADCIN15_FUNCTION
#define RTOUCH_YH_PIN   AVR32_ADCIN0_PIN
 IO pin used for YH line.
#define RTOUCH_YH_PIN_FUNCTION   AVR32_ADCIN0_FUNCTION
#define RTOUCH_YL_PIN   AVR32_ADCIN13_PIN
 IO pin used for YL line.
#define RTOUCH_YL_PIN_FUNCTION   AVR32_ADCIN13_FUNCTION
#define TOUCH_DETECT_SLEEP_MODE   SLEEPMGR_SAVE
 Deepest sleep mode allowed when waiting for touch detect.
#define TOUCH_SAMPLE_IRQ   SOFTIRQ_TOUCH
 Which soft IRQ to use for raw sample processing.
#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.
#define TOUCH_USE_SOFTIRQ   0
 Set to 1 if soft IRQs are used for raw sample processing.


Define Documentation

#define RTOUCH_ADC   AVR32_ADCIFA

AVR32 ADC module used for touch panel sampling.

Definition at line 86 of file conf_rtouch.h.

#define RTOUCH_ADC_INT_LEVEL   1

Definition at line 32 of file conf_rtouch.h.

#define RTOUCH_ADC_IRQ   AVR32_ADCIFA_SEQUENCER0_IRQ

Definition at line 63 of file conf_rtouch.h.

#define RTOUCH_ADC_XH_CHANNEL   AVR32_ADCIFA_INP_ADCIN1

Definition at line 68 of file conf_rtouch.h.

#define RTOUCH_ADC_XL_CHANNEL   AVR32_ADCIFA_INN_ADCIN15

Definition at line 73 of file conf_rtouch.h.

#define RTOUCH_ADC_YH_CHANNEL   AVR32_ADCIFA_INP_ADCIN0

Definition at line 83 of file conf_rtouch.h.

#define RTOUCH_ADC_YL_CHANNEL   AVR32_ADCIFA_INN_ADCIN13

Definition at line 78 of file conf_rtouch.h.

#define RTOUCH_OVERSAMPLING   4

Sample count per signal line.

Definition at line 10 of file conf_rtouch.h.

#define RTOUCH_SAMPLESCALE   2

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

Definition at line 12 of file conf_rtouch.h.

#define RTOUCH_XH_PIN   AVR32_ADCIN1_PIN

IO pin used for XL line.

Definition at line 66 of file conf_rtouch.h.

#define RTOUCH_XH_PIN_FUNCTION   AVR32_ADCIN1_FUNCTION

Definition at line 67 of file conf_rtouch.h.

#define RTOUCH_XL_PIN   AVR32_ADCIN15_PIN

IO pin used for XH line.

Definition at line 71 of file conf_rtouch.h.

#define RTOUCH_XL_PIN_FUNCTION   AVR32_ADCIN15_FUNCTION

Definition at line 72 of file conf_rtouch.h.

#define RTOUCH_YH_PIN   AVR32_ADCIN0_PIN

IO pin used for YH line.

Definition at line 81 of file conf_rtouch.h.

#define RTOUCH_YH_PIN_FUNCTION   AVR32_ADCIN0_FUNCTION

Definition at line 82 of file conf_rtouch.h.

#define RTOUCH_YL_PIN   AVR32_ADCIN13_PIN

IO pin used for YL line.

Definition at line 76 of file conf_rtouch.h.

#define RTOUCH_YL_PIN_FUNCTION   AVR32_ADCIN13_FUNCTION

Definition at line 77 of file conf_rtouch.h.

#define TOUCH_DETECT_SLEEP_MODE   SLEEPMGR_SAVE

Deepest sleep mode allowed when waiting for touch detect.

Definition at line 15 of file conf_rtouch.h.

#define TOUCH_SAMPLE_IRQ   SOFTIRQ_TOUCH

Which soft IRQ to use for raw sample processing.

Definition at line 23 of file conf_rtouch.h.

#define TOUCH_SAMPLE_SLEEP_MODE   SLEEPMGR_IDLE

Deepest sleep mode allowed when sampling.

Definition at line 17 of file conf_rtouch.h.

#define TOUCH_USE_IMMEDIATE_RESAMPLE   1

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

Definition at line 26 of file conf_rtouch.h.

#define TOUCH_USE_SOFTIRQ   0

Set to 1 if soft IRQs are used for raw sample processing.

Definition at line 21 of file conf_rtouch.h.


Generated on Fri Feb 19 02:24:05 2010 for AVR32 - Resistive Driver by  doxygen 1.5.5