8-Bit Timer Mode Control Register 6 Format - NEC PD78081(A) User Manual

8-bit single-chip microcontroller
Table of Contents

Advertisement

(4) 8-bit timer mode control register 6 (TMC6)
This register enables/stops operation of 8-bit timer register 6, sets the operating mode of 8-bit timer register
6 and controls operation of 8-bit timer/event counter 6 output control circuit.
It sets R-S type flip-flop (timer output F/F 1,2) setting/resetting, active level in PWM mode, inversion enabling/
disabling in modes other than PWM mode and 8-bit timer/event counter 6 timer output enabling/disabling.
TMC6 is set with a 1-bit or 8-bit memory manipulation instruction.
RESET input sets TMC6 to 00H.
Symbol
7
6
TCE6 TMC66
TMC6
Cautions 1. Timer operation must be stopped before setting TMC6.
2. If LVS6 and LVR6 are read after data are set, they will be 0.
3. Set 0 to the bits 4 and 5.
88
CHAPTER 6 8-BIT TIMER/EVENT COUNTERS 5 AND 6
Figure 6-6. 8-Bit Timer Mode Control Register 6 Format
5
4
3
2
0
0
LVS6 LVR6 TMC61 TOE6
Address
1
0
FF57H
TOE6
8-Bit Timer/Event Counter 6 Output Control
0
Output disabled (Port mode)
1
Output enabled
In PWM Mode
TMC61
Active level selection
0
Active high
1
Active low
LVS6 LVR6
0
0
0
1
1
0
1
1
TMC66 8-Bit Timer/Event Counter 6 Operating Mode Selection
0
Clear & start mode on match of TM6 and CR60
1
PWM mode (free-running)
TCE6
8-Bit Timer Register 6 Operation Control
0
Operation Stop (TM6 clear to 0)
1
Operation Enable
After Reset
R/W
00H
R/W
In Other Modes
Timer output F/F1 control
Inversion operation disabled
Inversion operation enabled
8-Bit Timer/Event Counter 6 Timer
Output F/F1 Status Setting
No change
Timer output F/F1 reset (0)
Timer output F/F1 set (1)
Setting prohibited

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents