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

no-image

M30622MA-XXXFP

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

Related parts for M30622MA-XXXFP