Section 17 16-Bit Timer Pulse Unit (TPU)
Rev. 2.00 Mar 09, 2006 page 750 of 906
REJ09B0292-0200
17.8
Usage Notes
17.8.1
Clearing Flags in TSR0 to TSR2
When bits TCFV, TGFD, TGFC, TGFB, and TGFA in TSR0, and bits TCFU, TCFV, TGFB, and
TGFA in TSR1 and TSR2, are cleared, it may happen that the interrupt request in the internal
logic cannot be cleared although the flag is cleared. In this case, if interrupt acceptance is enabled,
another interrupt will be generated.
Either of the following measures should therefore be taken when clearing flags in TSR0 to TSR2.
1. Execute clearing while the TPU timer is counting up.
2.
If clearing when the TPU timer is stopped, write 0 to the flag again after executing clearing.
17.8.2
DMA Transfer by TPU0
When DMA transfer is performed by means of TPU channel 0 compare match or input capture,
internal logic interrupt requests (transfer requests) may not be cleared correctly. Therefore, it may
not be possible to execute DMA transfer when a subsequent transfer request is generated by TPU
channel 0 compare match or input capture.
Either of the following measures should therefore be taken when performing DMA transfer by
means of TPU channel 0 compare match or input capture.
1. Do not set on-chip RAM as the DMA transfer source or destination.
2.
When on-chip RAM has not been set as the DMA transfer source or destination, execute the
transfer while the TPU channel 0 timer is counting up.
Содержание SH7616
Страница 10: ...Rev 2 00 Mar 09 2006 page x of xxvi ...
Страница 132: ...Section 2 CPU Rev 2 00 Mar 09 2006 page 106 of 906 REJ09B0292 0200 ...
Страница 568: ...Section 12 16 Bit Free Running Timer FRT Rev 2 00 Mar 09 2006 page 542 of 906 REJ09B0292 0200 ...
Страница 582: ...Section 13 Watchdog Timer WDT Rev 2 00 Mar 09 2006 page 556 of 906 REJ09B0292 0200 ...
Страница 662: ...Section 14 Serial Communication Interface with FIFO SCIF Rev 2 00 Mar 09 2006 page 636 of 906 REJ09B0292 0200 ...
Страница 706: ...Section 16 Serial I O SIO Rev 2 00 Mar 09 2006 page 680 of 906 REJ09B0292 0200 ...
Страница 820: ...Section 19 Pin Function Controller PFC Rev 2 00 Mar 09 2006 page 794 of 906 REJ09B0292 0200 ...
Страница 932: ...Appendix D Package Dimensions Rev 2 00 Mar 09 2006 page 906 of 906 REJ09B0292 0200 ...
Страница 935: ...SH7616 Hardware Manual ...