M30240ECFP MITSUBISHI [Mitsubishi Electric Semiconductor], M30240ECFP Datasheet - Page 70

no-image

M30240ECFP

Manufacturer Part Number
M30240ECFP
Description
M30240 Group Specification
Manufacturer
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet
Specifications in this manual are tentative and subject to change
Timer A
Figure 1.61: Timer A-related registers (2)
(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: Read and write data in 16-bit units.
Bit symbol
Timer mode
Counts an internal count source
Event counter mode
Counts pulses from an external source or timer overflow
One-shot timer mode
Counts a one shot width
Pulse width modulation mode (16-bit PWM)
Functions as a 16-bit pulse width modulator
Pulse width modulation mode (8-bit PWM)
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
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
Address
0380
1-70
Address
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Symbol
Bit name
Bit name
0384
Function
TA0
TA1
TA2
TA3
TA4
16
16
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
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
Mitsubishi microcomputers
to FFFF
to FFFE
to FFFF
to FFFF
to FE
M30240 Group
16
16
16
16
16
R
R
R
W
W
W

Related parts for M30240ECFP