English
Language : 

HD64F2145 Datasheet, PDF (507/829 Pages) Renesas Technology Corp – Hitachi 16-Bit Single-Chip Microcomputer
17.3 Register Descriptions
The keyboard buffer controller has the following registers for each channel.
• Keyboard control register H (KBCRH)
• Keyboard control register L (KBCRL)
• Keyboard data buffer register (KBBR)
17.3.1 Keyboard Control Register H (KBCRH)
KBCRH indicates the operating status of the keyboard buffer controller.
Bit Bit Name Initial Value R/W
7 KBIOE 0
R/W
6 KCLKI
1
R/W
5 KDI
1
R/W
4 KBFSEL 1
R/W
Description
Keyboard In/Out Enable
Selects whether or not the keyboard buffer controller
is used.
0: The keyboard buffer controller is non-operational
(KCLK and KD signal pins have port functions)
1: The keyboard buffer controller is enabled for
transmission and reception (KCLK and KD signal
pins are in the bus drive state)
Keyboard Clock In
Monitors the KCLK I/O pin. This bit cannot be
modified.
0: KCLK I/O pin is low
1: KCLK I/O pin is high
Keyboard Data In:
Monitors the KDI I/O pin. This bit cannot be modified.
0: KD I/O pin is low
1: KD I/O pin is high
Keyboard Buffer Register Full Select
Selects whether the KBF bit is used as the keyboard
buffer register full flag or as the KCLK fall interrupt
flag. When KBFSEL is cleared to 0, the KBE bit in
KBCRL should be cleared to 0 to disable reception.
0: KBF bit is used as KCLK fall interrupt flag
1: KBF bit is used as keyboard buffer register full flag
Rev. 2.0, 08/02, page 467 of 788