CHAPTER 14 TOUCH PANEL INTERFACE UNIT (PIU)
User’s Manual U14272EJ3V0UM
285
This register sets and indicates the interrupt request generation of the PIU.
When the PENCHGINTR bit is set to1, the PENSTC bit of the PIUCNTREG register indicates the touch panel
contact status (touch or release) when a contact status changes. The PENSTC bit’s status remains until the
PENCHGINTR bit is cleared to 0. Also, when the PENCHGINTR bit is cleared to 0, the PENSTC bit indicates the
touch panel contact status. However, the PENSTC bit does not change while the PENCHGINTR bit is set to 1, even
if the touch panel contact status changes between release and touch.
Caution
In the Hibernate mode, the V
R
4181 retains the touch panel status. Therefore, if the Hibernate mode
has been entered while the touch panel is touched, the contact status may be mistakenly
recognized as having changed, when the V
R
4181 returns to Fullspeed mode.
If a touch panel status change interrupt request occurs immediately after the V
R
4181 returns from
the Hibernate mode, the PENCHGINTR bit may be set to 1 due to a miss-recognition such as above.
Similarly, other bits of the PIUINTREG register may be set to 1 on returning from the Hibernate
mode. Therefore, set each bit of the PIUINTREG register to 1 to clear an interrupt request
immediately after a restore from the Hibernate mode.
14.3.3 PIUSIVLREG (0x0B00 0126)
Bit
15
14
13
12
11
10
9
8
Name
Reserved
Reserved
Reserved
Reserved
Reserved
SCAN
INTVAL10
SCAN
INTVAL9
SCAN
INTVAL8
R/W
R
R
R
R
R
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
7
6
5
4
3
2
1
0
Name
SCAN
INTVAL7
SCAN
INTVAL6
SCAN
INTVAL5
SCAN
INTVAL4
SCAN
INTVAL3
SCAN
INTVAL2
SCAN
INTVAL1
SCAN
INTVAL0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
RTCRST
1
0
1
0
0
1
1
1
Other resets
1
0
1
0
0
1
1
1
Bit
Name
Function
15 to 11
Reserved
0 is returned when read
10 to 0
SCANINTVAL(10:0)
Coordinate data scan sampling interval setting
Interval = SCANINTVAL(10:0) x 30
µ
s
This register sets the scan interval (sampling period) for coordinate data sampling.
The sampling interval for one set of coordinate data is the value set via SCANINTVAL(10:0) multiplied by 30
µ
s.
Accordingly, the logical range of sampling intervals that can be set in 30
µ
s units is from 0
µ
s to about 60 ms.
Actually, if the sampling interval setting is shorter than the time required for obtaining a set of coordinate data or
ADPScan data, a data lost interrupt request will occur. If data lost interrupt requests occur frequently, set a longer
interval time.