Atmel ARM-Based Evaluation Kit AT91SAM9N12-EK AT91SAM9N12-EK 데이터 시트
![Atmel](https://files.manualsbrain.com/attachments/0369829915bda09f9c2e00fb805a7753579683b5/common/fit/150/50/8d2bf08978ec3e5bc63f4343ac5e91ce8d0e40045619fa520d910d64af8f/brand_logo.png)
제품 코드
AT91SAM9N12-EK
907
SAM9N12/SAM9CN11/SAM9CN12 [DATASHEET]
11063K–ATARM–05-Nov-13
42.8.20 ADC Touchscreen Y Position Register
Name:
ADC_YPOSR
Address:
0xF804C0B8
Access:
Read-only
• YPOS: Y Position
The Position measured is stored here. if YPOS = 0 or YPOS = YSIZE, the pen is on the border.
When pen detection is enabled (PENDET set to ‘1’ in ADC_TSMR register), YPOS is tied to 0 while there is no detection of con-
tact on the touchscreen (i.e. when PENS bitfield is cleared in ADC_ISR register).
tact on the touchscreen (i.e. when PENS bitfield is cleared in ADC_ISR register).
• YSCALE: Scale of YPOS
Indicates the max value that YPOS can reach. This value should be close to 2
10
.
31
30
29
28
27
26
25
24
–
–
–
–
YSCALE
23
22
21
20
19
18
17
16
YSCALE
15
14
13
12
11
10
9
8
–
–
–
–
YPOS
7
6
5
4
3
2
1
0
YPOS