User's Manual

Table Of Contents
ADC AND TOUCH SCREEN INTERFACE S3C2450X RISC MICROPROCESSOR
24-6
3.2 ADC TOUCH SCREEN CONTROL (ADCTSC) REGISTER
Register Address R/W Description Reset Value
ADCTSC 0x58000004 R/W ADC touch screen control register 0x058
ADCTSC Bit Description Initial State
UD_SEN [8] Select interrupt source Stylus Up or Down
0 = Detect Stylus Down Signal.
1 = Detect Stylus Up Signal.
0
YM_SEN [7] YM to GND Switch Enable
0 = Switch disable.(YM = AIN6, Hi-z)
1 = Switch enable.(YM = VSSA_ADC)
0
YP_SEN [6] YP to VDD Switch Enable
0 = Switch enable.(YP = VDDA_ADC)
1 = Switch disable.(YP = AIN7, Hi-z)
1
XM_SEN [5] XM to GND Switch Enable
0 = Switch disable.(XM = AIN8, Hi-z)
1 = Switch enable.(XM = VSSA_ADC)
0
XP_SEN [4] XP to VDD Switch Enable
0 = Switch enable.(XP = VDDA_ADC)
1 = Switch disable.(XP = AIN9, Hi-z)
1
PULL_UP [3] XP Pull-up Switch Enable
0 = XP pull-up enable.
1 = XP pull-up disable.
1
AUTO_PST [2] Automatically sequencing conversion of X-Position and Y-Position
0 = Normal ADC conversion.
1 = Auto measurement of X-position, Y-position.
0
XY_PST [1:0] Manually measurement of X-Position or Y-Position.
00 = No operation mode
01 = X-position measurement
10 = Y-position measurement
11 = Waiting for Interrupt Mode
0
NOTES:
1. While waiting for Touch screen Interrupt, XP_SEN bit should be set to ‘1’(XP Output disable)
and PULL_UP bit should be set to ‘0’(XP Pull-up enable).
2. AUTO_PST bit should be set ‘1’ only in Automatic (Sequential) X/Y Position conversion.
3. PULL_UP switche should be eabled during stop/sleep mode to avoid leakage current.