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

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
294
Operation
Figure 2.2.14. Operation timing of event counter mode, free run type selected
Count start flag
Up/down flag
Timer Ai interrupt
request bit
2.2.6 Operation of Timer A (event counter mode, free run type selected)
In event counter mode, choose functions from those listed in Table 2.2.5. Operations of the circled items
are described below. Figure 2.2.14 shows the operation timing, and Figure 2.2.15 shows the set-up
procedure.
Table 2.2.5. Choosed functions
Note: j = i – 1, but j = 4 when i = 0
(1) Setting the count start flag to “1” causes the counter to count the falling edges of the count
(2) Even if an underflow occurs, the content of the reload register is not reloaded, but the count
(3) If switching from an up count to a down count or vice versa while a count is in progress, the
(4) Even if an overflow occurs, the content of the reload register is not reloaded, but the count
FFFF
0000
Count source
“1”
“0”
“1”
“0”
“1”
source.
continues. At this time, the timer Ai interrupt request bit goes to “1”.
switch takes effect from the next effective edge of the count source.
continues. At this time, the timer Ai interrupt request bit goes to “1”.
“0”
16
16
n
n = reload register content
Item
(1) Start count
Set to “1” by software
O
Timer overflow
(TB2/TAj overflow)
Input signal to TAi
(counting falling edges)
Input signal to TAi
(counting rising edges)
(2) Underflow
Cleared to “0” when interrupt request is accepted, or cleared by software
Set-up
IN
IN
Count operation type
Factor for switching
between up and
down
Pulse output function
(3) Switch count
Item
Set to “1” by software
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
O
O
O
Reload type
Free-run type
Content of up/down flag
Input signal to TAi
No pulses output
Pulses output
Mitsubishi microcomputers
M16C / 62 Group
Set-up
(4) Overflow
Time
OUT

Related parts for M30622MA-XXXFP