124
CHAPTER 9 8-BIT TIMER/EVENT COUNTERS 2, 3 TM2, TM3
Figure 9-5. 8-Bit Timer Mode Control Register n (TMCn) Format
Address: FF77H (TMC2) FF78H (TMC3) After Reset: 04H R/W
Symbol
7
6
5
4
3
2
1
0
TMCn
TCEn
TMCn6
0
0
LVSn
LVRn
TMCn1
TOEn
TCEn
TM2, TM3 Count Operation Control
0
After clearing counter to 0, count operation disabled (prescaler disabled)
1
Count operation start
TMCn6
TM2, TM3 Operating Mode Selection
0
Clear and start mode by matching between TMn and CRn
1
PWM (Free-running) mode
LVSn
LVRn
Timer Output F/F Status Setting
0
0
No change
0
1
Timer output F/F reset (to 0)
1
0
Timer output F/F set (to 1)
1
1
Setting prohibited
TMCn1
In Other Modes (TMCn6 = 0)
In PWM Mode (TMCn6 = 1)
Timer F/F Control
Active Level Selection
0
Inversion operation disabled
Active high
1
Inversion operation enabled
Active low
TOEn
Timer Output Control
0
Output disabled (Port mode)
1
Output enabled
Cautions 1. Set bit 4 and bit 5 to 0.
2. Bit 2 and bit 3 are write-only.
Remarks
1. In PWM mode, PWM output will be inactive because of TCEn = 0.
2. If LVSn and LVRn are read after data is set, they will be 0.
3. n = 2, 3
Summary of Contents for mPD780973 Series
Page 2: ...2 MEMO ...
Page 66: ...66 MEMO ...
Page 98: ...98 MEMO ...
Page 138: ...138 MEMO ...
Page 164: ...164 MEMO ...
Page 182: ...182 MEMO ...
Page 204: ...204 MEMO ...
Page 244: ...244 MEMO ...
Page 262: ...262 MEMO ...
Page 278: ...278 MEMO ...
Page 290: ...290 MEMO ...