CHAPTER 7 8-BIT TIMER/EVENT COUNTER 50
Preliminary User’s Manual U16846EJ1V0UD
146
(2) 8-bit timer mode control register 50 (TMC50)
TMC50 is a register that performs the following five types of settings.
<1> 8-bit timer counter 50 (TM50) count operation control
<2> 8-bit timer counter 50 (TM50) operating mode selection
<3> Timer output F/F (flip-flop) status setting
<4> Active level selection in timer F/F control or PWM (free-running) mode
<5> Timer output control
TMC50 can be set by a 1-bit or 8-bit memory manipulation instruction.
RESET input clears this register to 00H.
Figure 7-5 shows the TMC50 format.
Figure 7-5. Format of 8-Bit Timer Mode Control Register 50 (TMC50)
Address: FF6BH After reset: 00H R/W
Symbol
<7> 6 5 4 <3>
<2> 1 <0>
TMC50 TCE50
TMC506 0
0 LVS50
LVR50
TMC501
TOE50
TCE50
TM50 count operation control
0
After clearing to 0, count operation disabled (counter stopped)
1 Count
operation
start
TMC506
TM50 operating mode selection
0
Clear & start mode by match between TM50 and CR50
1
PWM (free-running) mode
LVS50
LVR50
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
In other modes (TMC506 = 0)
In PWM mode (TMC506 = 1)
TMC501
Timer F/F control
Active level selection
0
Inversion operation disabled
Active high
1
Inversion operation enabled
Active low
TOE50 Timer
output
control
0
Output disabled (TM50 outputs the low level)
1 Output
enabled