137
CHAPTER 7 8-BIT TIMER/EVENT COUNTERS 50 AND 51
Preliminary User’s Manual U16035EJ1V0UM
Figure 7-5. Format of 8-Bit Timer Mode Control Register 5n (TMC5n)
Address: FF70H (TMC50) FF78H (TMC51) After reset: 00H R/W
Symbol
7
6
5
4
3
2
1
0
TMC5n
TCE5n
TMC5n6
0
TMC5n4
LVS5n
LVR5n
TMC5n1
TOE5n
TCE5n
TM5n count operation control
0
After clearing to 0, count operation disabled (prescaler disabled)
1
Count operation start
TMC5n6
TM5n operating mode selection
0
Clear and start mode by matching between TM5n and CR5n
1
PWM (free-running) mode
TMC5n4
Single mode/cascade connection mode selection
0
Single mode (use the lowest timer)
1
Cascade connection mode (connect to lower timer)
LVS5n
LVR5n
Timer output F/F status setting
0
0
No change
0
1
Timer output F/F reset (0)
1
0
Timer output F/F set (1)
1
1
Setting prohibited
TMC5n1
In other modes (TMC5n6 = 0)
In PWM mode (TMC5n6 = 1)
Timer F/F control
Active level selection
0
Inversion operation disabled
Active high
1
Inversion operation enabled
Active low
TOE5n
Timer output control
0
Output disabled (port mode)
1
Output enabled