TIMER A
[Precautions for one-shot pulse mode]
[Precautions for one-shot pulse mode]
1. If the count start bit is cleared to “0” during counting, the counter becomes as follows:
•The counter stops counting, and the reload register’s contents are reloaded into the counter.
•The TAiOUT pin’s output level becomes “L.”
•The timer Ai interrupt request bit is set to “1.”
2. A one-shot pulse is output synchronously with an internally generated count source. Accordingly, when
selecting an external trigger, there will be a delay equivalent to one cycle of the count source at
maximum, in a period from when a trigger is input to the TAiIN pin until a one-shot pulse is output.
Fig. 7.5.6 Output delay in one-shot pulse output
Trigger input
TAiIN pin’s
input signal
Count
source
One-shot pulse
output from
Starts outputting of one-shot pulse
TAi OUT pin
Note: The above applies when an external trigger (falling edge of TAiIN pin’s input signal) is selected.
3. When the timer’s operating mode has been set by one of the following procedures, the timer Ai interrupt
request bit will be set to “1.”
ꢀWhen the one-shot pulse mode is selected after reset
ꢀWhen the operating mode is switched from the timer mode to the one-shot pulse mode
ꢀWhen the operating mode is switched from the event counter mode to the one-shot pulse mode
Accordingly, when using a timer Ai interrupt (interrupt request bit), be sure to clear the timer Ai interrupt
request bit to “0” after the above setting.
7905 Group User’s Manual Rev.1.0
7-37