EasyManuals Logo

Renesas M32R/ECU Series User Manual

Renesas M32R/ECU Series
839 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #811 background imageLoading...
Page #811 background image
Appendix 4
Appendix 4-6
32180 Group User's Manual (Rev. 1.0)
SUMMARY OF PRECAUTIONS
Appendix 4.8 Precautions about the Multijunction Timers
Appendix 4.8.1 Precautions on Using TOP Single-Shot Output Mode
The following describes precautions to be observed when using TOP single-shot output mode.
If the counter stops due to an underflow in the same clock period as the timer is enabled by external input,
the former has priority so that the counter stops.
If the counter stops due to an underflow in the same clock period as count is enabled by writing to the enable
bit, the latter has priority so that count is enabled.
If the timer is enabled by external input in the same clock period as count is disabled by writing to the enable
bit, the latter has priority so that count is disabled.
Because the timer operates synchronously with the count clock, a count clock-dependent delay is included
before F/F output is inverted after the timer is enabled.
When writing to the correction register, be careful not to cause the counter to overflow. Even if the counter
overflows due to correction of counts, no interrupt requests are generated for reasons of an overflow. There-
fore, if the counter underflows in the subsequent down-count after an overflow, a false interrupt request is
generated for an underflow that includes the overflowed count.
In the example in the next page, the reload register is initially set to HFFF8. When the timer starts, the reload
register value is loaded into the counter, letting it start counting down. In the example here, the value H0014 is
written to the correction register when the counter has counted down to HFFF0.
As a result of this correction, the count overflows to H0004 and the counter fails to count correctly. Also, an
interrupt request is generated for an erroneous overflowed count.
Appendix 4.8 Precautions about the Multijunction Timers

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas M32R/ECU Series and is the answer not in the manual?

Renesas M32R/ECU Series Specifications

General IconGeneral
BrandRenesas
ModelM32R/ECU Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals