Cpu Board Switch Control; Lcd Board Switch Control (Application Switch); Key Switch Registers - Renesas SH7727 General Information Manual

T-engine development kit, hardware volume
Table of Contents

Advertisement

R0P7727TH003TRKE General Information Manual

6.5.1 CPU Board Switch Control

(1) Power-on switch (SW1)
When the SH7727 is being powered, a power-on switch interrupt occurs for the SH7727 if
the power-on switch is pressed and held for 2 seconds or more.
When T-Engine is OFF, it is turned ON if the power-on switch is pressed and held for 0.5
seconds or more.
When T-Engine is ON, it is turned OFF if the power-on switch is pressed and held for 2
seconds or more.
(2) Reset switch (SW2)
T-Engine is turned OFF when the reset switch is pressed.
(3) NMI switch (SW3)
An NMI interrupt occurs for the SH7727 when the NMI switch is pressed.

6.5.2 LCD Board Switch Control (Application Switch)

(1) Cursor switch (SW1) and push-button switches (SW2 and SW3) on the LCD board
The cursor switch and push-button switches are subject to sampling at intervals of 10msec.
When consecutive three samplings indicate that the same key is being pressed, key bit pattern
data of the cursor switch and push-button switches are output.
If the switch is turned ON, a key ON interrupt occurs. If the switch is turned OFF, a key OFF
interrupt occurs.
When the same switch is pressed and held, an auto repeat interrupt occurs at intervals of 100 to
450msec (unit: 50msec).

6.5.3 Key Switch Registers

Table 6.5 summarizes the key switch registers. For details of each register, refer to 6.5.4 to 6.5.8.
Register
Key control register
Key auto repeat time register
Key bit pattern register
Key input status register
RTC/Touch panel/key input/Power supply
status register
Table 6.5 Key Switch Registers
Abbreviation
KEYCR
KATIMER
KBITPR
KEYSR
RTKISR
75
Address
R/W
Size
0x0060
R/W
1 byte
0x0061
R/W
1 byte
0x0064
R/W
2 bytes
0x0062
R/W
1 byte
0x0090
R/W
1 byte
Power Supply Controller
Remarks

Advertisement

Table of Contents
loading

Table of Contents