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

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
296
Operation
Note
Figure 2.2.16. Operation timing of 2-phase pulse signal process in event counter mode, normal mode selected
2.2.7 Operation of timer A (2-phase pulse signal process in event counter mode,
Timer Ai interrupt
request bit
Count start flag
In processing 2-phase pulse signals in event counter mode, choose functions from those listed in Table
2.2.6. Operations of the circled items are described below. Figure 2.2.16 shows the operation timing, and
Figure 2.2.17 shows the set-up procedure.
TAi
normal mode selected)
TAi
Table 2.2.6. 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
(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:
OUT
Count operation type
2-phase pulses
process (Note)
FFFF
IN
0000
an up count is performed.
If a falling edge is present at the TAi
a down count is performed.
If a rising edge is present at the TAi
source.
continues. At this time, the timer Ai interrupt request bit goes to “1”.
continues. At this time, the timer Ai interrupt request bit goes to “1”.
“H”
“L”
“H”
“L”
“1”
“0”
“1”
“0”
multiplication processes.
16
16
Item
(1) Start count
Set to “1” by software
O
O
4-multiplication processing
Reload type
Normal processing
Free run type
Cleared to “0” when interrupt request is accepted, or cleared by software
IN
IN
pin when the input signal level to the TAi
pin when the input signal level to the TAi
(2) Underflow
Set-up
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
(3) Overflow
Mitsubishi microcomputers
M16C / 62 Group
OUT
OUT
Time
pin is “H”,
pin is “H”,

Related parts for M30622MA-XXXFP