NEC mPD780344 Series User Manual page 193

8-bit single-chip microcontrollers
Table of Contents

Advertisement

CHAPTER 8 8-BIT TIMER/EVENT COUNTERS 50, 51
Figure 8-5. Format of 8-Bit Timer Mode Control Register 5n (TMC5n)
Address: FF70H (TMC50) FF73H (TMC51)
Symbol
7
TMC5n
TCE5n
TMC5n6
TCE5n
0
After clearing to 0, count operation disabled (prescaler disabled)
1
Count operation start
TMC5n6
0
Clear and start mode by matching between TM5n and CR5n
1
PWM (free-running) mode
LVS5n
LVR5n
0
0
1
1
TMC5n1
0
Inversion operation disabled
1
Inversion operation enabled
TOE5n
0
Output disabled (port mode)
1
Output enabled
Remarks 1. In PWM mode, PWM output will be inactive because TCE5n = 0.
2. If LVS5n and LVR5n are read after data is set, 0 is read.
3. n = 0, 1
After reset: 00H
6
5
4
0
0
TM5n count operation control
TM5n operation mode selection
0
No change
1
Timer output F/F reset (0)
0
Timer output F/F set (1)
1
Setting prohibited
In other modes (TMC5n6 = 0)
Timer F/F control
User's Manual U15798EJ2V0UD
R/W
3
2
LVS5n
LVR5n
Timer output F/F status setting
In PWM mode (TMC5n6 = 1)
Active level selection
Active high
Active low
Timer output control
1
0
TMC5n1
TOE5n
193

Advertisement

Table of Contents
loading

Table of Contents