Datasheet

SAM9G45 [DATASHEET]
Atmel-6438O-ATARM-SAM9G45-Datasheet_08-Dec-15
948
39.11.2 TSADCC Mode Register
Name: TSADCC_MR
Address: 0xFFFB0004
Access: Read/Write
TSAMOD: Touchscreen ADC Mode
PDCEN: PDC transfer in Touchscreen/Interleaved mode or Manual mode
0: Disable the PDC transfer in Touchscreen/Interleaved mode or Manual mode
1: In Touchscreen/Interleaved mode or Manual mode, the data conversion is transferred in the TSADCC_LCDR allowing
PDC transfer to memory.
LOWRES: Resolution Selection
This option is only valid in ADC mode.
SLEEP: Sleep Mode
PRESCAL: Prescaler Rate Selection
ADCCLK = MCK / ( (PRESCAL+1) * 2 )
PENDET: Pen Detect Selection
0: Disable the Touchscreen pins as analog inputs
1: enable the Touchscreen pins as analog inputs
31 30 29 28 27 26 25 24
PENDBC SHTIM
23 22 21 20 19 18 17 16
–STARTUP
15 14 13 12 11 10 9 8
PRESCAL
76543210
PRES PENDET
SLEEP LOWRES
PDCEN -TSAMOD
TSAMOD Touchscreen ADC Operating Mode
0 ADC Mode
1 Touchscreen Only Mode
2 Interleaved Mode
3 Manual Mode
LOWRES Selected Resolution
0 10-bit resolution
1 8-bit resolution
SLEEP Selected Mode
0 Normal Mode
1Sleep Mode