s3c24xx_ts.h File Reference

Samsung S3C24xx on-chip ADC and touch-screen interface driver. More...

#include <sys/types.h>

Go to the source code of this file.

Data Structures

struct  s3c24xx_adc_io_t
 S3C24xx ADC and touch-screen I/O. More...
struct  s3c24xx_ts_t
 S3C24xx touchscreen driver instance. More...

Defines

#define ADCCON_ECFLG   0x8000
#define ADCCON_ENABLE_START   0x0001
#define ADCCON_PRSCEN   0x4000
#define ADCCON_PRSCVL(val)   (((val) & 0xff) << 6)
#define ADCCON_READ_START   0x0002
#define ADCCON_SEL_MUX(smux)   (((smux) & 7) << 3)
#define ADCCON_STDBM   0x0004
#define ADCDAT_AUTO_PST   0x4000
#define ADCDAT_UPDOWN   0x8000
#define ADCTSC_AUTO_PST   0x0004
#define ADCTSC_DSUD_UP   0x0100
#define ADCTSC_PULLUP_DISABLE   0x0008
#define ADCTSC_XM_ENABLE   0x0020
#define ADCTSC_XP_DISABLE   0x0010
#define ADCTSC_XY_PST_MASK   0x0003
#define ADCTSC_XY_PST_NOOP   0x0000
#define ADCTSC_XY_PST_WAITINT   0x0003
#define ADCTSC_XY_PST_X   0x0001
#define ADCTSC_XY_PST_Y   0x0002
#define ADCTSC_YM_ENABLE   0x0080
#define ADCTSC_YP_DISABLE   0x0040
#define ADCUPDN_TSC_DN   0x0001
#define ADCUPDN_TSC_UP   0x0002
#define S3C24XX_TS_ADDR   0x58000000
 Touchscreen I/O address.
#define S3C24XX_TS_INR   31
 Touchscreen interrupt number.
#define SMUX_AIN0   0
#define SMUX_AIN1   1
#define SMUX_AIN2   2
#define SMUX_AIN3   3
#define SMUX_XM   6
#define SMUX_XP   7
#define SMUX_YM   4
#define SMUX_YP   5

Enumerations

enum  ts_state_t
enum  ts_updn_t


Detailed Description

Samsung S3C24xx on-chip ADC and touch-screen interface driver.

Definition in file s3c24xx_ts.h.


Generated on Thu Jun 2 07:45:55 2011 for HelenOS/USB by  doxygen 1.4.7