Hitachi SH7760 Solution Engine2 Overview page 93

Table of Contents

Advertisement

6.5.7 Key Input Status Register (KEYSR)
Address: 0x0062 Initial value: 0x00
D7
D6
0
0
R
R
(1) KEY_ONF
KEY_ON bit
0
1
(2) KEY_OFFF
KEY_OFFF bit
0
1
(3) ARKEYF
ARKEYF bit
0
1
D5
D4
0
PONSWF
R
R/W
An application switch key has not been turned on. (Initial value)
An application switch key has been turned on. At this time, if the
KEY_ONI bit is set to "1," a key ON interrupt occurs.
[Clear condition]
This bit is reset when "0" is written with the KEY_ONF bit set to "1."
An application switch key is ON or OFF. (Initial value)
An application switch key has changed from ON to OFF.
(Initial value)
At this time, if the KEY_OFFI bit is set to "1," a key OFF interrupt
occurs.
[Clear condition]
This bit is cleared when "0" is written with the KEY_OFFI bit set to
"1."
The same application switch key is not ON for the time specified in the
key auto repeat time register. (Initial value)
The same application switch is ON for the time specified in the key auto
repeat time register. At this time, if the ARKEYI bit is set to "1","
repeat interrupt occurs.
[Clear condition]
This bit is cleared when "0" is written with the ARKEYF bit set to "1."
D3
D2
KEY_OFFF
ARKEYF
R/W
R/W
Setting
Setting
Setting
90
D1
D0
KEY_ONF
0
R/W
R

Advertisement

Table of Contents
loading

Table of Contents