CHAPTER 7 8-BIT TIMER/EVENT COUNTERS 50 AND 51
Preliminary User’s Manual U19014EJ1V0UD
183
(2) 8-bit timer mode control register 5n (TMC5n)
TMC5n is a register that performs the following five types of settings.
<1> 8-bit timer counter 5n (TM5n) count operation control
<2> 8-bit timer counter 5n (TM5n) 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
TMC5n can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation sets this register to 00H.
Remark
n = 0, 1
Figure 7-7. Format of 8-Bit Timer Mode Control Register 50 (TMC50)
Address: FF6BH After reset: 00H R/W
Note
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
Mode in which clear & start occurs on a 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 clear (0) (default output value of TO50 pin: low level)
1
0
Timer output F/F set (1) (default output value of TO50 pin: high level)
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 output is low level)
1 Output
enabled
Note
Bits 2 and 3 are write-only.
(
Cautions
and
Remarks
are listed on the next page.)
electronic components distributor