Rev. 1.00, 09/03, page 414 of 704
14.7.4
Switching of External Event Signal and Operation of Edge Detection Circuit
When the external event signal is changed, the edge detection circuit may regard it as a rising or
falling edge. Table 14.4 shows the relationship between the timing at which the external event
signal is switched (bits IS2 to IS0 are rewritten) and operation of the edge detection circuit.
Rising and falling edges of the external event signal are detected by the edge detection circuit.
Thus, if the clock is changed when the old source is low and the new source is high, as in case no.
2 in table 14.4, the changeover is regarded as a rising edge and the TWCNT value is transferred to
TWICR during duty measurement. If the clock is changed when the old source is high and the new
source is low, as in case no. 3 in table 14.4, the changeover is regarded as a falling edge and duty
measurement is started or ended. To prevent incorrect operation, ensure that the IS bit should not
be rewritten during duty measurement.
Table 14.4 Switching of External Event Signal and Operation of Edge Detection Circuit
No.
Timing of Switchover by
Means of IS2 to IS0 Bits
Operation of Edge Detection Circuit
1
Switching from
low to low
External event signal
before switchover
External event signal
after switchover
Rising edge
detection signal
Falling edge
detection signal
Switchover of IS bit
2
Switching from
low to high
*
1
External event signal
before switchover
External event signal
after switchover
Rising edge
detection signal
Falling edge
detection signal
Switchover of IS bit
Содержание H8S/2437
Страница 2: ...Rev 1 00 09 03 page ii of xxxviii ...
Страница 8: ...Rev 1 00 09 03 page viii of xxxviii ...
Страница 32: ...Rev 1 00 09 03 page xxxii of xxxviii ...
Страница 38: ...Rev 1 00 09 03 page xxxviii of xxxviii ...
Страница 168: ...Rev 1 00 09 03 page 130 of 704 ...
Страница 336: ...Rev 1 00 09 03 page 298 of 704 ...
Страница 402: ...Rev 1 00 09 03 page 364 of 704 ...
Страница 454: ...Rev 1 00 09 03 page 416 of 704 ...
Страница 512: ...Rev 1 00 09 03 page 474 of 704 ...
Страница 562: ...Rev 1 00 09 03 page 524 of 704 ...
Страница 648: ...Rev 1 00 09 03 page 610 of 704 ...
Страница 672: ...Rev 1 00 09 03 page 634 of 704 ...
Страница 732: ...Rev 1 00 09 03 page 694 of 704 ...
Страница 742: ...Rev 1 00 09 03 page 704 of 704 ...
Страница 745: ......
Страница 746: ...H8S 2437 Group Hardware Manual REJ09B0059 0100Z ...