Rev. 1.00, 05/04, page 364 of 544
14.4.8 KCLK
Fall
Interrupt Operation
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.
Start
Set KBIOE
KBF = 1
(interrupt generated)
KBE = 0
(KBBR reception
disabled)
Interrupt handling
Clear KBF
KCLK pin
fall detected?
KBFSEL = 0
KBIE = 1
(KCLK falling edge
interrupts enabled)
Yes
No
KCLK
(pin state)
KBF bit
Interrupt
generated
Interrupt
generated
Cleared
by software
Note:
*
The KBF setting timing is the same as the timing of KBF setting and KCLK automatic I/O inhibit bit generation in
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.
Figure 14.13 Example of KCLK Input Fall Interrupt Operation
Содержание H8S/2111B
Страница 2: ...Rev 1 00 05 04 page ii of xxxiv...
Страница 8: ...Rev 1 00 05 04 page viii of xxxiv...
Страница 22: ...Rev 1 00 05 04 page xxii of xxxiv...
Страница 30: ...Rev 1 00 05 04 page xxx of xxxiv...
Страница 84: ...Rev 1 00 05 04 page 50 of 544...
Страница 100: ...Rev 1 00 05 04 page 66 of 544...
Страница 126: ...Rev 1 00 05 04 page 92 of 544...
Страница 180: ...Rev 1 00 05 04 page 146 of 544...
Страница 216: ...Rev 1 00 05 04 page 182 of 544...
Страница 254: ...Rev 1 00 05 04 page 220 of 544...
Страница 268: ...Rev 1 00 05 04 page 234 of 544...
Страница 382: ...Rev 1 00 05 04 page 348 of 544...
Страница 462: ...Rev 1 00 05 04 page 428 of 544...
Страница 464: ...Rev 1 00 05 04 page 430 of 544...
Страница 488: ...Rev 1 00 05 04 page 454 of 544...
Страница 496: ...Rev 1 00 05 04 page 462 of 544...
Страница 574: ...Rev 1 00 05 04 page 540 of 544...
Страница 581: ......
Страница 582: ...H8S 2111B Hardware Manual...