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

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
Figure 2.2.13. Set-up procedure of event counter mode, reload type selected
(b15)
Setting count start flag
Setting divide ratio
b7
b7
b7
b7
Selecting event counter mode and functions
Setting up/down flag
b7
Setting one-shot start flag and trigger select register
0
Note: Set the corresponding port direction register to “0”.
0
0
0
0
0
0
0
0
b0
b0
b0
b0
(b8)
1
b0
Timer A0 count start flag
Timer A1 count start flag
Timer A2 count start flag
Timer A3 count start flag
Timer A4 count start flag
Selection of event counter mode
Pulse output function select bit
Count polarity select bit
Up/down switching cause select bit
0 (Must always be “0” in event counter mode)
Count operation type select bit
Invalid in event counter mode (i = 0, 1)
Invalid when not using two-phase pulse signal processing(i = 2 to 4)
Timer A0 up/down flag
Timer A1 up/down flag
Timer A2 up/down flag
Timer A3 up/down flag
Timer A4 up/down flag
When not using the 2-phase pulse signal processing function, set the select bit to “0”.
Timer A0 event/trigger select bit
Count start flag [Address 0380
b7 b6
b7
TABSR
0 : Pulse is not output (TA
0 : Counts external signal's falling edge
0 : Up/down flag's content
0 : Reload type
0 : Down count
0 : Down count
0 : Down count
0 : Down count
0 : Down count
0 0 :
One-shot start flag [Address 0382
ONSF
Up/down flag [Address 0384
UDF
Timer Ai mode register (i=0 to 4) [Address 0396
TAiMR (i=0 to 4)
Input on TA0
Can be set to 0000
IN
is selected (Note)
b0
iOUT
16
16
16
Timer A0 register [Address 0387
Timer A1 register [Address 0389
Timer A2 register [Address 038B
Timer A3 register [Address 038D
Timer A4 register [Address 038F
to FFFF
pin is a normal port pin)
]
Start count
]
16
]
16
b7
16
to 039A
16
]
16
16
16
16
16
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
b0
, 0386
, 0388
, 038A
, 038E
, 038C
Timer A2 event/trigger select bit
Timer A3 event/trigger select bit
Timer A1 event/trigger select bit
Timer A4 event/trigger select bit
b1 b0
b7 b6
b3 b2
b5 b4
Trigger select register [Address 0383
TRGSR
0 0 :
0 0 :
0 0 :
0 0 :
16
16
16
16
16
] TA0
] TA1
] TA2
] TA4
] TA3
Input on TA2
Input on TA1
Input on TA3
Input on TA4
IN
IN
IN
IN
is selected (Note)
is selected (Note)
is selected (Note)
is selected (Note)
Mitsubishi microcomputers
M16C / 62 Group
16
]
293

Related parts for M30622MA-XXXFP