#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 RTOUCH_ADC AVR32_ADCIFA |
#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 |
#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 |
#define RTOUCH_XH_PIN_FUNCTION AVR32_ADCIN1_FUNCTION |
Definition at line 67 of file conf_rtouch.h.
#define RTOUCH_XL_PIN AVR32_ADCIN15_PIN |
#define RTOUCH_XL_PIN_FUNCTION AVR32_ADCIN15_FUNCTION |
Definition at line 72 of file conf_rtouch.h.
#define RTOUCH_YH_PIN AVR32_ADCIN0_PIN |
#define RTOUCH_YH_PIN_FUNCTION AVR32_ADCIN0_FUNCTION |
Definition at line 82 of file conf_rtouch.h.
#define RTOUCH_YL_PIN AVR32_ADCIN13_PIN |
#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 |
#define TOUCH_SAMPLE_SLEEP_MODE SLEEPMGR_IDLE |
#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.