NEC PD78076Y Network Card User Manual


 
257
CHAPTER 10 8-BIT TIMER/EVENT COUNTERS 5 AND 6
(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 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.
Figure 10-6. 8-Bit Timer Output Control Register 6 Format
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 bits 4 and 5 to 0.
TCE6
TMC66
0 0 LVS6 LVR6
TMC61
TOE6
<7> 6 5 4 <3> <2> 1 <0>Symbol
TMC6
FF57H 00H R/W
Address After Reset R/W
TOE6 8-Bit Timer/Event Counter 6 Output Control
0 Output disabled (Port mode)
6 Output enabled
TMC61
0 Active high
1 Active low
In PWM Mode In Other Mode
Active level selection Timer output F/F1 control
Inversion operation disabled
Inversion operation enabled
LVS6 LVR6
00
01
10
11
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
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