![](http://datasheet.mmic.net.cn/320000/UPD30102_datasheet_16362875/UPD30102_399.png)
CHAPTER 19 PIU (TOUCH PANEL INTERFACE UNIT)
399
19.3.9 PIUPBnmREG (0x0B00 02A0 to 0x0B00 02AE, 0x0B00 02BC to 0x0B00 02BE)
Remark
PIUPB00REG (0x0B00 02A0)
PIUPB01REG (0x0B00 02A2)
PIUPB02REG (0x0B00 02A4)
PIUPB03REG (0x0B00 02A6)
n = 0, 1, m = 0 to 4
PIUPB04REG
PIUPB10REG
PIUPB11REG
PIUPB12REG
(0x0B00 02BC)
(0x0B00 02A8)
(0x0B00 02AA)
(0x0B00 02AC)
PIUPB13REG
PIUPB14REG
(0x0B00 02AE)
(0x0B00 02BE)
Bit
D15
D14
D13
D12
D11
D10
D9
D8
Name
VALID
Reserved
Reserved
Reserved
Reserved
Reserved
PADDATA[9]
PADDATA[8]
R/W
R/W
R
R
R
R
R
R/W
R/W
RTCRST
0
0
0
0
0
0
0
0
Other resets
0
0
0
0
0
0
0
0
Bit
D7
D6
D5
D4
D3
D2
D1
D0
Name
PADDATA[7] PADDATA[6] PADDATA[5] PADDATA[4] PADDATA[3] PADDATA[2] PADDATA[1] PADDATA[0]
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
RTCRST
0
0
0
0
0
0
0
0
Other resets
0
0
0
0
0
0
0
0
Bit
Name
Function
D[15]
VALID
Indicates validity of data in PADDATA
1 : Valid
0 : Invalid
D[14..10]
Reserved
Write 0 when writing. 0 is returned after a read.
D[9..0]
PADDATA[9..0]
A/D converter’s sampling data
This register is used to store coordinate data and touch pressure data. There are four coordinate data buffers
and one pair of touch pressure data buffer, each of which holds two pages of coordinate data or pressure data, and
the addresses (register addresses) where the coordinate data or the pressure data is stored are fixed. Read
coordinate data from the corresponding register in a valid page.
The VALID bit, which indicates when the data is valid, is automatically rendered invalid when the page buffer
interrupt cause (PIUPAGE0INTR or PIUPAGE1INTR in PIUINTREG) is cleared.
Table 19-4. Detected Coordinates and Page Buffers
Detected data
Page0 Buffer
Page1 Buffer
X+
PIUPB00REG
PIUPB10REG
X
e
PIUPB01REG
PIUPB11REG
Y+
PIUPB02REG
PIUPB12REG
Y
e
PIUPB03REG
PIUPB13REG
Z (Touch pressure)
PIUPB04REG
PIUPB14REG