Operation In One-Shot Pulse Mode - Renesas 7700 FAMILY User Manual

Mitsubishi 16-bit single-chip microcomputer
Table of Contents

Advertisement

TIMER A
5.5 One-shot pulse mode

5.5.4 Operation in one-shot pulse mode

When the one-shot pulse mode is selected with the operating mode select bits, the TAi
"L" level.
When the count start bit is set to "1," the counter is enabled for counting. After that, counting starts when
a trigger is generated.
When the counter starts counting, the TAi
a value "0000
" set in it, the counter does not operate and the output from the TAi
16
The timer Ai interrupt request does not occur.)
When the counter value becomes "0000
the reload register's contents are reloaded and the counter stops counting there.
Simultaneously at
This interrupt request bit remains set to "1" until the interrupt request is accepted or the interrupt request
bit is cleared to "0" by software.
Figure 5.5.5 shows an example of operation in the one-shot pulse mode.
When a trigger is generated after
beginning from
again. Furthermore, if a trigger is generated during counting, the counter down-counts
once after this generated new trigger, and it continues counting with the reload register's contents reloaded.
If generating a trigger during counting, make sure that a certain time which is equivalent to one cycle of
the timer's count source or more has passed between the previous generated trigger and a new generated
trigger.
The one-shot pulse output from the TAi
2 to "0." Accordingly, timer Ai can be also used as an internal one-shot timer that does not perform the
pulse output. In this case, the TAi
5–36
OUT
," the output from the TAi
16
, the timer Ai interrupt request bit is set to "1."
above, the counter and TAi
pin can be disabled by clearing the timer Ai mode register's bit
OUT
pin functions as a programmable I/O port.
OUT
7751 Group User's Manual
pin outputs "H" level. (However, if the timer Ai register has
OUT
OUT
OUT
pin remains "L."
OUT
pin becomes "L" level. Additionally,
pin perform the same operations
pin outputs

Advertisement

Table of Contents
loading

This manual is also suitable for:

7751 series

Table of Contents