Rev. 1.00, 09/03, page 255 of 704
10.5.5
Buffered Input Capture Input Timing
ICRC and ICRD can operate as buffers for ICRA and ICRB, respectively. Figure 10.9 shows how
input capture operates when ICRC is used as ICRA's buffer register (BUFEA = 1) and IEDGA and
IEDGC are set to different values (IEDGA = 1 and IEDGC = 0, or IEDGA = 0 and IEDGC = 1),
so that input capture is performed on both the rising and falling edges of FTIA.
Input capture
signal
φ
FTIA
FRC
ICRA
ICRC
n
n + 1
N + 1
N
M
n
m
M
n
M
N
n
Figure 10.9 Buffered Input Capture Timing
Even when ICRC or ICRD is used as a buffer register, its input capture flag is set according to the
selected edge of its input capture signal. For example, if ICRC is used as the ICRA buffer register,
when the edge transition selected by the IEDGC bit occurs on the FTIC input capture line, the
ICFC flag will be set, and if the ICICE bit is set at this time, an interrupt will be requested. The
FRC value will not be transferred to ICRC, however. In buffered input capture, if either set of two
registers to which data will be transferred (ICRA and ICRC, or ICRB and ICRD) is being read
when the input capture input signal occurs, input capture is delayed by one system clock (
φ
).
Figure 10.10 shows the timing when BUFEA = 1.
Содержание 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 ...