Samsung S5PC110 Manual page 1932

Risc microprocessor
Table of Contents

Advertisement

S5PC110_UM
7.7.1.1 ADC Control Register (TSADCCONn)
TSADCCON0, R/W, Address = 0xE170_0000
TSADCCON1, R/W, Address = 0xE170_1000
TSADCCONn
TSSEL
RES
ECFLG
PRSCEN
PRSCVL
Reserved
STANDBY
READ_ START
ENABLE_START
Bit
[17]
Touch screen selection
0 = Touch screen 0 (AIN2~AIN5)
1 = Touch screen 1 (AIN6~AIN9)
This bit exists only in TSADCCON0.
Note: An access to TSADCCON1 bits is prohibited when TSSEL
bit is 0, and an access to TSADCCON0 bits except TSSEL is
prohibited when TSSEL bit is 1. An access to TSSEL bit is
always permitted.
[16]
ADC output resolution selection
0 = 10bit A/D conversion
1 = 12bit A/D conversion
[15]
End of conversion flag(Read only)
0 = A/D conversion in process
1 = End of A/D conversion
[14]
A/D converter prescaler enable
0 = Disable
1 = Enable
[13:6]
A/D converter prescaler value
Data value: 5 ~ 255
The division factor is (N+1) when the prescaler value is N. For
example, ADC frequency is 3.3MHz if PCLK is 66MHz and the
prescaler value is 19.
Note: This A/D converter is designed to operate at maximum
5MHz clock, so the prescaler value should be set such that the
resulting clock does not exceed 5MHz.
[5:3]
Reserved
[2]
Standby mode select
0 = Normal operation mode
1 = Standby mode
Note: In standby mode, prescaler should be disabled to reduce
more leakage power consumption.
[1]
A/D conversion start by read
0 = Disables start by read operation
1 = Enables start by read operation
[0]
A/D conversion starts by enable.
If READ_START is enabled, this value is not valid.
0 = No operation
1 = A/D conversion starts and this bit is automatically cleared
after the start-up.
7 ADC & TOUCH SCREEN INTERFACE
Description
Initial State
0
0
0
0
0xFF
0
1
0
0
7-11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents