Register Descriptions; Keyboard Control Register H (Kbcrh) - Renesas H8S/2111B Hardware Manual

Bit single-chip microcomputer h8s family / h8s/2100 series
Table of Contents

Advertisement

14.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)
14.3.1
Keyboard Control Register H (KBCRH)
KBCRH indicates the operating status of the keyboard buffer controller.
Bit
Bit Name
7
KBIOE
6
KCLKI
5
KDI
4
KBFSEL
Initial
Value
R/W
0
R/W
1
R/W
1
R/W
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. 1.00, 05/04, page 351 of 544

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hd64f2111b

Table of Contents