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

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
298
Operation
Note
Figure 2.2.18. Operation timing of 2-phase pulse signal process in event counter mode, multiply-by-4 mode selected
2.2.8 Operation of timer A (2-phase pulse signal process in event counter mode,
In processing 2-phase pulse signals in event counter mode, choose functions from those listed in Table
2.2.7. Operations of the circled items are described below. Figure 2.2.18 shows the operation timing, and
Figure 2.2.19 shows the set-up procedure.
Timer Ai interrupt
request bit
Count start flag
multiply-by-4 mode selected)
Table 2.2.7. Choosed functions
Note: Timer A3 alone can be selected. Timer A2 is solely used for normal processes, and timer A4 is solely used for 4-
(1) Setting the count start flag to “1” causes the counter to count effective edges of the count source.
(2) Even if an underflow occurs, the content of the reload register is not reloaded, but the count
(3) Even if an overflow occurs, the content of the reload register is not reloaded, but the count
• The up count or down count conditions are as follows:
Table 2.2.8. The up count or down count conditions
Up count
Count operation type
TAi
continues. At this time, the interrupt request bit goes to “1”.
continues. At this time, the interrupt request bit goes to “1”.
TAi
multiplication processes.
OUT
“1”
“0”
“1”
“0”
FFFF
0000
IN
Item
“H”
“L”
“H”
“L”
16
16
Input signal to the
(1) Start count
TAi
“H” level
Set to “1” by software
“L” level
Falling
Rising
OUT
pin
O
Reload type
Free run type
Set-up
Input signal to the
TAi
“H” level
“L” level
Falling
Rising
Cleared to “0” when interrupt request is accepted, or cleared by software
IN
pin
Down
count
Processing 2 phase
pulses (Note)
(2) Underflow
Item
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Input signal to the
TAi
“H” level
“L” level
Falling
Rising
OUT
pin
O
Normal processing
4-multiplication processing
Mitsubishi microcomputers
M16C / 62 Group
(3) Overflow
Set-up
Input signal to the
TAi
“H” level
“L” level
Falling
Rising
IN
Time
pin

Related parts for M30622MA-XXXFP