English
Language : 

M306H2MC-XXXFP Datasheet, PDF (77/210 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with DATA ACQUISITION CONTROLLER
MITSUBISHI MICROCOMPUTERS
M306H2MC-XXXFP
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
with DATA ACQUISITION CONTROLLER
Timer Ai register (Note 1)
(b15)
b7
(b8)
b0 b7
Symbol
b0
TA0
TA1
TA2
TA3
TA4
Address
038716,038616
038916,038816
038B16,038A16
038D16,038C16
038F16,038E16
When reset
Indeterminate
Indeterminate
Indeterminate
Indeterminate
Indeterminate
Function
• Timer mode
Counts an internal count source
Values that can be set R W
000016 to FFFF16
• Event counter mode
000016 to FFFF16
Counts pulses from an external source or timer overflow
• One-shot timer mode
Counts a one shot width
000016 to FFFF16
(Note 2,4)
• Pulse width modulation mode (16-bit PWM)
Functions as a 16-bit pulse width modulator
000016 to FFFE16
(Note 3,4)
• 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
0016 ~ FE16
(high-order address)
0016 ~ FF16
(low-order address)
(Note 3,4)
Note 1: Read and write data in 16-bit units.
Note 2: When the timer Ai register is set to “000016 ”,the counter does not
operate and the timer Ai interrupt request is not generated.When the pulse is set to output,
the pulse does not output from the TAiOUT pin.
Note 3: When the timer Ai register is set to “000016 ”,the pulse width modulator does not operate
and the output level of the TAiOUT pin remains “L ” level,,therefore the timer Ai interrupt
request is not generated.This also occurs in the 8-bit pulse width modulator mode when the
significant 8 high-order bits in the timer Ai register are set to “0016 ”.
Note 4: Use MOV instruction to write to this register.
Note 5: In the case of using “Event counter mode” as “Free-Run type”, the timer register
contents may be unkown when counting begins.(Refer 3. Usage Precaution.)
Count start flag
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
TABSR
Address
038016
When reset
0016
Bit symbol
Bit name
Function
RW
TA0S
TA1S
Timer A0 count start flag
Timer A1 count start flag
0 : Stops counting
1 : Starts counting
TA2S Timer A2 count start flag
TA3S Timer A3 count start flag
TA4S Timer A4 count start flag
TB0S Timer B0 count start flag
TB1S Timer B1 count start flag
TB2S Timer B2 count start flag
Up/down flag (Note 1)
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
UDF
Address
038416
When reset
0016
Bit symbol
Bit name
Function
RW
TA0UD
TA1UD
TA2UD
TA3UD
TA4UD
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
0 : Down count
1 : Up count
This specification becomes valid
when the up/down flag content is
selected for up/down switching
cause
TA2P
TA3P
TA4P
Timer A2 two-phase pulse 0 : two-phase pulse signal
signal processing select bit processing disabled
1 : two-phase pulse signal
Timer A3 two-phase pulse processing enabled
signal processing select bit
When not using the two-phase
Timer A4 two-phase pulse pulse signal processing function,
signal processing select bit set the select bit to “0”
Note 1: Use MOV instruction to write to this register.
Note 2: Set the TAiIN and TAiOUT pins correspondent port direction registers to “0 ”.
Figure 2.10.5 Timer A-related registers (2)
76
Rev. 1.0