h8s-2111b Renesas Electronics Corporation., h8s-2111b Datasheet - Page 398

no-image

h8s-2111b

Manufacturer Part Number
h8s-2111b
Description
Renesas 16-bit Single-chip Microcomputer H8s Family / H8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
14.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 14.13 shows the setting method and an example of operation.
Rev. 1.00, 05/04, page 364 of 544
Note: * The KBF setting timing is the same as the timing of KBF setting and KCLK automatic I/O inhibit bit generation in
(interrupt generated)
figure 14.11. When the KBF bit is used as the KCLK input fall interrupt flag, the automatic I/O inhibit function does
not operate.
interrupts enabled)
(KCLK falling edge
Interrupt handling
(KBBR reception
KCLK Fall Interrupt Operation
fall detected?
KBFSEL = 0
Set KBIOE
Clear KBF
KCLK pin
disabled)
KBIE = 1
KBE = 0
KBF = 1
Start
Figure 14.13 Example of KCLK Input Fall Interrupt Operation
Yes
No
KCLK
(pin state)
KBF bit
Interrupt
generated
Cleared
by software
Interrupt
generated

Related parts for h8s-2111b