Kiuscanrep (0X0B00 0190) - NEC VR4181 mPD30181 User Manual

64-/32-bit microprocessor hardware
Table of Contents

Advertisement

16.3.2 KIUSCANREP (0x0B00 0190)

Bit
15
Name
KEYEN
R/W
R/W
RTCRST
0
Other resets
0
Bit
7
Name
STPREP3
R/W
R/W
RTCRST
0
Other resets
0
Bit
Name
15
KEYEN
14 to 10
Reserved
9 to 4
STPREP(5:0)
3
MSTOP
2
MSTART
1
ASTOP
0
ASTART
CHAPTER 16 KEYBOARD INTERFACE UNIT (KIU)
14
13
Reserved
Reserved
Reserved
R
R
0
0
0
0
6
5
STPREP2
STPREP1
STPREP0
R/W
R/W
0
0
0
0
KIU enable. This bit enables a KIU operation. When this bit is set to 0, the scan
sequencer and all interrupt requests are disabled.
1 : Enable
0 : Disable
0 is returned when read
Scan sequencer stop count. These bits select the number of scan operation
performed after all keys have been released (0xFF is loaded to KIUDAT registers).
111111 : 63 times
:
000001 : 1 time
000000 : 64 times
Scan stop (manual mode). This bit is sampled at the end of each scan operation and
causes the scan sequencer to stop scanning when set to 1.
1 : Stop
0 : Operate
Manual scan start (manual mode). When this bit is set to 1, the scan sequencer starts
scanning the keyboard.
1 : Start
0 : Stop
Auto scan stop (auto mode). When this bit is set to 1, the scan sequencer stops
scanning automatically when all keys have been released for the number of scan
operation specified by the STPREP(5:0) bits.
1 : Auto stop
0 : Manual stop
Auto Scan mode enable. When this bit is set to 1, the scan sequencer starts
scanning automatically following a key press event.
1 : Enable
0 : Disable
User's Manual U14272EJ3V0UM
12
11
Reserved
Reserved
R
R
0
0
0
0
4
3
MSTOP
MSTART
R/W
R/W
R/W
0
0
0
0
Function
10
9
STPREP5
STPREP4
R
R/W
R/W
0
0
0
0
2
1
ASTOP
ASTART
R/W
R/W
0
0
0
0
8
0
0
0
0
0
323

Advertisement

Table of Contents
loading

Table of Contents