h8s-2161b Renesas Electronics Corporation., h8s-2161b Datasheet - Page 561

no-image

h8s-2161b

Manufacturer Part Number
h8s-2161b
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
17.4.8
In this device, clearing the KBFSEL bit to 0 in KBCRH enables the KBF bit in KBCRL to be used
as a flag for the interrupt generated by the fall of KCLK input.
Figure 17.13 shows the setting method and an example of operation.
Note: * The KBF setting timing is the same as the timing of KBF setting and KCLK automatic I/O inhibit bit
(interrupt generated)
interrupts enabled)
(KCLK falling edge
Interrupt handling
(KBBR reception
KCLK Fall Interrupt Operation
generation in figure 17.11. When the KBF bit is used as the KCLK input fall interrupt flag, the
automatic I/O inhibit function does not operate.
fall detected?
KBFSEL = 0
Set KBIOE
Clear KBF
KCLK pin
disabled)
KBIE = 1
KBE = 0
KBF = 1
Start
Figure 17.13 Example of KCLK Input Fall Interrupt Operation
Yes
No
KCLK
(pin state)
KBF bit
Interrupt
generated
Rev. 3.00 Mar 21, 2006 page 507 of 788
Section 17 Keyboard Buffer Controller
Cleared
by software
REJ09B0300-0300
Interrupt
generated

Related parts for h8s-2161b