Section 19 Keyboard Buffer Control Unit (PS2)
Rev. 1.00 Apr. 28, 2008 Page 610 of 994
REJ09B0452-0100
•
Canceling software standby mode and watch mode
Software standby mode and watch mode are cancelled by a first KCLK falling interrupt. In this
case, an interrupt is generated at the first KCLK since software standby mode or watch mode
has been shifted (figure 19.17).
Notes on canceling operation are explained below.
When a transition to software standby mode or watch mode is performed while both
KBIOE and KCIE are set to 1, canceling the current mode is enabled by a first KCLK
falling interrupt (the KBE and KBTS are not affected).
When software standby mode and watch mode are cancelled by a first KCLK falling
interrupt, the KCIF flag is not set (only the internal flag is set).
In the first KCLK interrupt handling routine, the KCIF bit is checked. If the KCIF is 0, it
indicates that the interrupt is generated after software standby mode and watch mode have
been cancelled.
When software standby mode or watch mode is cancelled by receiving a receive clock, the
reception is ignored. Execute reception terminating processing by an interrupt handing
routine, and then request retransfer.
When transition to software standby mode or watch mode is made and the mode is
canceled by a first KCLK falling interrupt during data transmission, state before
performing mode transition is held immediately after canceling the mode. Therefore,
initialization by an interrupt handling routine is required. Precautions as (b) and (c) which
are shown in figure 19.17 should be applied on interrupt generation.
Priority of canceling software standby mode and watch mode is decided by the setting of
ICR.
The interrupt signal path and flag setting of the first KCLK interrupt in normal operation
differ from those in software standby mode and watch mode. Figure 19.6 shows the
interrupt signal paths of the first KCLK interrupt.
Signal A: Interrupt signal in normal operation
Signal B: Interrupt signal in software standby mode and watch mode
KCLK is input directly to the interrupt control block, not through the PS2, in software
standby mode and watch mode, and then an interrupt is generated by detection of a falling
edge. Therefore, the KCIF flag is not set. In this case, a flag that is in the interrupt control
block is set. The internal flag is automatically cleared after an interrupt request is sent to
the CPU. Figure 19.18 shows setting and clearing timing.
Содержание H8S/2100 Series
Страница 2: ...Rev 1 00 Apr 28 2008 Page ii of xxvi...
Страница 54: ...Section 1 Overview Rev 1 00 Apr 28 2008 Page 28 of 994 REJ09B0452 0100...
Страница 92: ...Section 2 CPU Rev 1 00 Apr 28 2008 Page 66 of 994 REJ09B0452 0100...
Страница 158: ...Section 5 Interrupt Controller Rev 1 00 Apr 28 2008 Page 132 of 994 REJ09B0452 0100...
Страница 244: ...Section 8 8 Bit PWM Timer PWMU Rev 1 00 Apr 28 2008 Page 218 of 994 REJ09B0452 0100...
Страница 330: ...Section 10 16 Bit Timer Pulse Unit TPU Rev 1 00 Apr 28 2008 Page 304 of 994 REJ09B0452 0100...
Страница 354: ...Section 11 16 Bit Cycle Measurement Timer TCM Rev 1 00 Apr 28 2008 Page 328 of 994 REJ09B0452 0100...
Страница 380: ...Section 12 16 Bit Duty Period Measurement Timer TDP Rev 1 00 Apr 28 2008 Page 354 of 994 REJ09B0452 0100...
Страница 416: ...Section 13 8 Bit Timer TMR Rev 1 00 Apr 28 2008 Page 390 of 994 REJ09B0452 0100...
Страница 494: ...Section 15 Serial Communication Interface SCI Rev 1 00 Apr 28 2008 Page 468 of 994 REJ09B0452 0100...
Страница 612: ...Section 18 I 2 C Bus Interface IIC Rev 1 00 Apr 28 2008 Page 586 of 994 REJ09B0452 0100...
Страница 706: ...Section 20 LPC Interface LPC Rev 1 00 Apr 28 2008 Page 680 of 994 REJ09B0452 0100...
Страница 752: ...Section 21 FSI Interface Rev 1 00 Apr 28 2008 Page 726 of 994 REJ09B0452 0100...
Страница 774: ...Section 23 RAM Rev 1 00 Apr 28 2008 Page 748 of 994 REJ09B0452 0100...
Страница 1008: ...Section 28 Electrical Characteristics Rev 1 00 Apr 28 2008 Page 982 of 994 REJ09B0452 0100...
Страница 1020: ...Rev 1 00 Apr 28 2008 Page 994 of 994 REJ09B0452 0100...
Страница 1023: ......
Страница 1024: ...H8S 2117R Group Hardware Manual...