HD6432160 RENESAS [Renesas Technology Corp], HD6432160 Datasheet - Page 520

no-image

HD6432160

Manufacturer Part Number
HD6432160
Description
Hitachi 16-Bit Single-Chip Microcomputer
Manufacturer
RENESAS [Renesas Technology Corp]
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.
Rev. 2.0, 08/02, page 480 of 788
Note:* The KBF setting timing is the same as the timing of KBF setting and KCLK automatic I/O inhibit bit
(interrupt generated)
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.
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 17.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 HD6432160