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

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.15. Set-up procedure of event counter mode, free run type selected
(b15)
Setting divide ratio
b7
Setting count start flag
b7
b7
Setting up/down flag
b7
b7
Selecting event counter mode and functions
Setting one-shot start flag and trigger select register
0
Note: Set the corresponding port direction register to “0”.
1
0
0
0
0
0
0
0
(b8)
b0
b0
b0
b0
1
b0
Pulse output function select bit
b7
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
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, be sure to set the select bit to “0”.
Timer A0 event/trigger select bit
Count start flag [Address 0380
TABSR
0 : Pulse is not output (TA
0 : Counts external signal's falling edge
0 : Up/down flag's content
1 : Free-run type
0 : Down count
0 : Down count
0 : Down count
0 : Down count
0 : Down count
b7 b6
One-shot start flag [Address 0382
ONSF
Up/down flag [Address 0384
UDF
0 0 :
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
pin is a normal port pin)
to FFFF
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
]
]
Start count
16
]
16
b7
16
to 039A
16
]
16
16
16
16
16
b0
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
, 0386
, 0388
, 038E
, 038A
, 038C
Timer A1 event/trigger select bit
Timer A2 event/trigger select bit
Timer A3 event/trigger select bit
Timer A4 event/trigger select bit
b1 b0
Trigger select register [Address 0383
TRGSR
0 0 :
b3 b2
b5 b4
b7 b6
0 0 :
0 0 :
0 0 :
16
16
16
16
16
] TA0
] TA1
Input on TA1
] TA4
] TA2
] TA3
Input on TA2
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
]
295

Related parts for M30622MA-XXXFP