NEC 78K0 User Manual page 167

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0:
Table of Contents

Advertisement

Figure 7-8. Format of 8-Bit Timer Mode Control Register 51 (TMC51)
Address: FF43H
After reset: 00H
Symbol
<7>
TMC51
TCE51
TCE51
0
After clearing to 0, count operation disabled (counter stopped)
1
Count operation start
TMC516
0
Mode in which clear & start occurs on a match between TM51 and CR51
1
PWM (free-running) mode
LVS51
0
0
1
1
TMC511
0
Inversion operation disabled
1
Inversion operation enabled
TOE51
0
Output disabled (TM51 output is low level)
1
Output enabled
Cautions 1. The settings of LVS5n and LVR5n are valid in other than PWM mode.
2. Do not rewrite following bits simultaneously.
• TMC5n1 and TOE5n
• TMC5n6 and TOE5n
• TMC5n1 and TMC5n6
• TMC5n6 and LVS5n, LVR5n
• TOE5n and LVS5n, LVR5n
3. Stop operation before rewriting TMC5n6.
Remarks 1. In PWM mode, PWM output is made inactive by clearing TCE5n to 0.
2. If LVS5n and LVR5n are read, the value is 0.
3. The values of the TMC5n6, LVS5n, LVR5n, TMC5n1, and TOE5n bits are reflected at the TO5n pin
regardless of the value of TCE5n.
4. n = 0, 1
CHAPTER 7 8-BIT TIMER/EVENT COUNTERS 50 AND 51
R/W
6
5
TMC516
0
TM51 operating mode selection
LVR51
0
No change
1
Timer output F/F reset (0)
0
Timer output F/F set (1)
1
Setting prohibited
In other modes (TMC516 = 0)
Timer F/F control
User's Manual U16227EJ2V0UD
4
<3>
<2>
0
LVS51
LVR51
TM51 count operation control
Timer output F/F status setting
In PWM mode (TMC516 = 1)
Active level selection
Active-high
Active-low
Timer output control
1
<0>
TMC511
TOE51
167

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

78kc1

Table of Contents