Rev. 1.00, 09/03, page 334 of 704
12.5.3 Buffer
Operation
Buffer operation, provided for channel 0, enables TGRC and TGRD to be used as buffer registers.
Buffer operation differs depending on whether TGR has been designated as an input capture
register or as a compare match register. Table 12.17 shows the register combinations used in
buffer operation.
Table 12.17 Register Combinations in Buffer Operation
Channel
Timer General Register
Buffer Register
0 TGRA_0
TGRC_0
TGRB_0
TGRD_0
•
When TGR is an output compare register
When a compare match occurs, the value in the buffer register for the corresponding channel is
transferred to the timer general register. This operation is illustrated in figure 12.16.
Buffer register
Timer general
register
TCNT
Comparator
Compare match signal
Figure 12.16 Compare Match Buffer Operation
•
When TGR is an input capture register
When input capture occurs, the value in TCNT is transferred to TGR and the value previously
stored in the timer general register is transferred to the buffer register. This operation is
illustrated in figure 12.17.
Buffer register
Timer general
register
TCNT
Input capture
signal
Figure 12.17 Input Capture Buffer Operation
Example of Buffer Operation Setting Procedure:
Figure 12.18 shows an example of the buffer operation setting procedure.
Содержание 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 ...