M30622ECTFP MITSUBISHI [Mitsubishi Electric Semiconductor], M30622ECTFP Datasheet - Page 85

no-image

M30622ECTFP

Manufacturer Part Number
M30622ECTFP
Description
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Manufacturer
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet
Timer A
Figure 1.17.5. Timer A-related registers (2)
Tentative Specifications REV.A
S
pecifications in this manual are tentative and subject to change.
(b15)
Count start flag
Up/down flag
b7
b7
b7
Timer Ai register (Note)
b6
b6
b5
b5
b4
b4
b3
b3
b2
b2
(b8)
b0 b7
b1
b1
b0
b0
Note 1: M30623(80-pin package) does not have I/O pins for TA2, so set this
Note: Read and write data in 16-bit units.
• Timer mode
• Event counter mode
• One-shot timer mode
• Pulse width modulation mode (16-bit PWM)
• Pulse width modulation mode (8-bit PWM)
Bit symbol
Counts an internal count source
Counts pulses from an external source or timer overflow
Counts a one shot width
Functions as a 16-bit pulse width modulator
Timer low-order address functions as an 8-bit
prescaler and high-order address functions as an 8-bit
pulse width modulator
Bit symbol
TA0UD
TA1UD
TA2UD
TA3UD
TA4UD
TA0S
TA1S
TA2S
TA3S
TA4S
TB0S
TB1S
TB2S
TA2P
TA3P
TA4P
Symbol
TABSR
Symbol
UDF
bit to “0’’.
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
Timer A2 two-phase pulse
signal processing select bit
Timer A3 two-phase pulse
signal processing select bit
Timer A4 two-phase pulse
signal processing select bit
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
Timer B0 count start flag
Timer B1 count start flag
Timer B2 count start flag
b0
85
Address
0380
Address
Symbol
Bit name
Bit name
0384
Function
TA0
TA1
TA2
TA3
TA4
16
16
(Note 1)
038B
038D
038F
0387
0389
When reset
When reset
Address
0 : Down count
1 : Up count
This specification becomes valid
when the up/down flag content is
selected for up/down switching
cause
0 : two-phase pulse signal
1 : two-phase pulse signal
When not using the two-phase
pulse signal processing function,
set the select bit to “0”
00
0 : Stops counting
1 : Starts counting
16
16
16
16
16
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
00
processing disabled
processing enabled
,0386
,0388
,038A
,038C
,038E
16
16
16
16
16
16
16
Function
Function
0000
0000
0000
0000
Values that can be set
(Both high-order
Indeterminate
Indeterminate
Indeterminate
Indeterminate
Indeterminate
and low-order
When reset
00
addresses)
16
16
16
16
16
to FFFF
to FFFF
to FFFF
to FFFE
to FE
Mitsubishi microcomputers
16
M16C / 62T Group
16
16
16
16
R
R
R
W
W
W

Related parts for M30622ECTFP