126
CHAPTER 8 8-BIT TIMER/EVENT COUNTERS 2 TM2 AND 3 TM3
Preliminary User’s Manual U14581EJ3V0UM00
Figure 8-5. 8-Bit Timer Mode Control Registers 2 and 3 (TMC2 and TMC3) Format
Address: FF77H (TMC2) FF78H (TMC3) After Reset: 00H R/W
Symbol
7
6
5
4
3
2
1
0
TMCn
TCEn
TMCn6
0
0
LVSn
LVRn
TMCn1
TOEn
TCEn
TMn Count Operation Control
0
After clearing counter to 0, count operation disabled (prescaler disabled)
1
Count operation start
TMCn6
TMn Operation 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. Bits 4 and 5 must be set to 0.
2. Bits 2 and 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 mPD780851
Page 2: ...2 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Page 8: ...8 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Page 12: ...12 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Page 26: ...26 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Page 46: ...46 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Page 74: ...74 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Page 90: ...90 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Page 100: ...100 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Page 136: ...136 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Page 142: ...142 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Page 186: ...186 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Page 222: ...222 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Page 230: ...230 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Page 240: ...240 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Page 262: ...262 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Page 296: ...296 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Page 304: ...304 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Page 314: ...314 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...