M30622MA-XXXFP RENESAS [Renesas Technology Corp], M30622MA-XXXFP Datasheet - Page 317

no-image

M30622MA-XXXFP

Manufacturer Part Number
M30622MA-XXXFP
Description
16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Figure 2.2.22. Operation timing of one-shot mode, external trigger selected
Timer A
302
Operation
Count start flag
TAi
input signal
One-shot pulse output
from TAi
Timer Ai interrupt
request bit
2.2.10 Operation of Timer A (one-shot timer mode, external trigger selected)
IN
In one-shot timer mode, choose functions from those listed in Table 2.2.10. Operations of the circled
items are described below. Figure 2.2.22 shows the operation timing, and Figure 2.2.23 shows the set-up
procedure.
pin
OUT
pin
Table 2.2.10. Choosed functions
Note: j = i – 1, but j = 4 when i = 0; k = i + 1, but k = 0 when i = 4.
(1) If the TAi
(2) If the value of the counter becomes “0000
(3) If a trigger occurs while a count is in progress, the counter reloads the value of the reload
(4) Setting the count start flag to “0” causes the counter to stop and to reload the content of the
Count source
Pulse output function
Count start condition
FFFF
0001
counter performs a down count on the count source. At this time, the TAi
goes to “H” level.
counter reloads the content of the reload register and stops counting. At this time, the timer Ai
interrupt request bit goes to “1”.
register again and continues counting. The reload timing is in step with the next count source
input after the trigger.
reload register. Also, the TAi
request bit goes to “1”.
“H”
“H”
“L”
“L”
“0”
“1”
“0”
“1”
16
16
n
Item
n = reload register content
IN
pin input level changes from “L” to “H” with the count start flag set to “1”, the
(1) Start count
Set to “1” by software
O
O
O
1 / fi X (n)
External trigger input (rising edge of input signal to the TAi
Internal count source (f
No pulses output
Pulses output
External trigger input (falling edge of input signal to the TAi
Timer overflow (TB2/TAj/TAk overflow)
Writing “1” to the one-shot start flag
Reload
Trigger during count
OUT
(2) Stop count
Cleared to “0” when interrupt request is accepted, or cleared by software
pin outputs an “L” level. At this time, the timer Ai interrupt
(3) Start count
1
/ f
8
16
/ f
”, the TAi
32
/ fc
32
)
Set-up
1 / fi X (n+1)
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
OUT
Cleared to “0” by software
pin outputs an “L” level, and the
Reload
Start count
IN
IN
pin)
pin)
OUT
Mitsubishi microcomputers
M16C / 62 Group
pin output level
(4) Stop count
Reload
Time

Related parts for M30622MA-XXXFP