Adc Touch Screen Control (Adctsc) Register - Samsung S3C2416 User Manual

16/32-bit risc
Table of Contents

Advertisement

ADC AND TOUCH SCREEN INTERFACE

3.2 ADC TOUCH SCREEN CONTROL (ADCTSC) REGISTER

Register
ADCTSC
0x58000004
ADCTSC
Bit
UD_SEN
[8]
YM_SEN
[7]
YP_SEN
[6]
XM_SEN
[5]
XP_SEN
[4]
PULL_UP
[3]
AUTO_PST
[2]
XY_PST
[1: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.
22-6
Address
R/W
R/W
ADC touch screen control register
Select interrupt source Stylus Up or Down
0 = Detect Stylus Down Signal.
1 = Detect Stylus Up Signal.
YM to GND Switch Enable
0 = Switch disable.(YM = AIN6, Hi-z)
1 = Switch enable.(YM = VSSA_ADC)
YP to VDD Switch Enable
0 = Switch enable.(YP = VDDA_ADC)
1 = Switch disable.(YP = AIN7, Hi-z)
XM to GND Switch Enable
0 = Switch disable.(XM = AIN8, Hi-z)
1 = Switch enable.(XM = VSSA_ADC)
XP to VDD Switch Enable
0 = Switch enable.(XP = VDDA_ADC)
1 = Switch disable.(XP = AIN9, Hi-z)
XP Pull-up Switch Enable
0 = XP pull-up enable.
1 = XP pull-up disable.
Automatically sequencing conversion of X-Position and Y-Position
0 = Normal ADC conversion.
1 = Auto measurement of X-position, Y-position.
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
S3C2416X RISC MICROPROCESSOR
Description
Description
Reset Value
0x058
Initial State
0
0
1
0
1
1
0
0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents