Go to the source code of this file.
#define UCB_ADC_DAT_MASK 0x3ff |
#define UCB_ADC_DAT_VALID (1 << 15) |
#define UCB_ADC_DATA 0x68 |
#define UCB_ADC_ENA (1 << 15) |
#define UCB_ADC_EXT_REF (1 << 5) |
#define UCB_ADC_INP_AD0 (4 << 2) |
#define UCB_ADC_INP_AD1 (5 << 2) |
#define UCB_ADC_INP_AD2 (6 << 2) |
#define UCB_ADC_INP_AD3 (7 << 2) |
#define UCB_ADC_INP_TSMX (1 << 2) |
#define UCB_ADC_INP_TSMY (3 << 2) |
#define UCB_ADC_INP_TSPX (0 << 2) |
#define UCB_ADC_INP_TSPY (2 << 2) |
#define UCB_ADC_START (1 << 7) |
#define UCB_ADC_SYNC_ENA (1 << 0) |
#define UCB_ADC_VREFBYP_CON (1 << 1) |
#define UCB_FCSR_AVE (1 << 12) |
#define UCB_ID_1400 0x4304 |
#define UCB_IE_ADC (1 << 11) |
#define UCB_IE_CLEAR 0x62 |
#define UCB_IE_STATUS 0x62 |
#define UCB_IE_TSPX (1 << 12) |
#define UCB_TS_CR_BIAS_ENA (1 << 11) |
#define UCB_TS_CR_MODE_INT (0 << 8) |
#define UCB_TS_CR_MODE_POS (2 << 8) |
#define UCB_TS_CR_MODE_PRES (1 << 8) |
#define UCB_TS_CR_TSMX_GND (1 << 4) |
#define UCB_TS_CR_TSMX_LOW (1 << 13) |
#define UCB_TS_CR_TSMX_POW (1 << 0) |
#define UCB_TS_CR_TSMY_GND (1 << 6) |
#define UCB_TS_CR_TSMY_POW (1 << 2) |
#define UCB_TS_CR_TSPX_GND (1 << 5) |
#define UCB_TS_CR_TSPX_LOW (1 << 12) |
#define UCB_TS_CR_TSPX_POW (1 << 1) |
#define UCB_TS_CR_TSPY_GND (1 << 7) |
#define UCB_TS_CR_TSPY_POW (1 << 3) |