Precautions For Timer A (One-Shot Timer Mode) - Renesas M30245 Series User Manual

16-bit single-chip microcomputer
Hide thumbs Also See for M30245 Series:
Table of Contents

Advertisement

M30245 Group

2.2.14 Precautions for Timer A (one-shot timer mode)

(1) At reset, the count start flag is set to "0". Set a value in the timer Ai register, then set the flag
to "1".
(2) Setting the count start flag to "0" while a count is in progress causes as follows:
• The counter stops counting and a content of reload register is reloaded.
• The TAi
• The interrupt request generated and the timer Ai interrupt request bit goes to "1".
(3) The timer Ai interrupt request bit goes to "1" if the timer's operation mode is set using any of
the following procedures:
• Selecting one-shot timer mode after reset.
• Changing operation mode from timer mode to one-shot timer mode.
• Changing operation mode from event counter mode to one-shot timer mode.
Therefore, to use timer Ai interrupt (interrupt request bit), set timer Ai interrupt request bit to
"0" after the above listed changes have been made.
(4) If a trigger occurs while a count is in progress, after the counter performs one down count
following the reoccurrence of a trigger, the reload register contents are reloaded, and the
count continues. To generate a trigger while a count is in progress, generate the second
trigger after an elapse longer than one cycle of the timer's count source after the previous
trigger occurred.
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
pin outputs "L" level.
OUT
page 37 of 354
2. Timer A

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c seriesM20c series

Table of Contents