Bit Timer Output Control Register Format - NEC PD78076 User Manual

Pd78078 series; pd78078y series 8-bit single-chip microcontrollers
Table of Contents

Advertisement

(4) 16-bit timer output control register (TOC0)
This register controls the operation of the 16-bit timer/event counter output control circuit. It sets R-S type
flip-flop (LV0) setting/resetting, the active level in PWM mode, inversion enabling/disabling in modes other
than PWM mode, 16-bit timer/event counter timer output enabling/disabling, one-shot pulse output operation
enabling/disabling, and output trigger for a one-shop pulse by software.
TOC0 is set with a 1-bit or 8-bit memory manipulation instruction.
RESET input sets TOC0 value to 00H.
Figure 8-6. 16-Bit Timer Output Control Register Format
Symbol
7
<6>
<5>
0
OSPT OSPE TOC04 LVS0 LVR0 TOC01 TOE0
TOC0
Cautions 1. Timer operation must be stopped before setting TOC0 (except OSPT).
2. If LVS0 and LVR0 are read after data is set, they will be 0.
3. OSPT is cleared automatically after data setting, and will therefore be 0 if read.
194
CHAPTER 8 16-BIT TIMER/EVENT COUNTER
4
<3>
<2>
1
<0>
Address
After Reset
FF4EH
00H
TOE0 16-Bit Timer/Event Counter Output Control
0
Output disabled (Port mode)
1
Output enabled
In PWM Mode
TOC01
Active level selection
0
Active high
1
Active low
16-Bit Timer/Event Counter Timer
LVS0 LVR0
Output F/F Status Setting
0
0
No change
0
1
Timer output F/F reset (0)
1
0
Timer output F/F set (1)
1
1
Setting prohibited
TOC04 Timer output F/F control by match of CR01 and TM0
0
Inversion operation disabled
1
Inversion operation enabled
OSPE One-Shot Pulse Output Control
0
Continuous pulse output
1
One-shot pulse output
OSPT Control of One-Shot Pulse Output Trigger by Software
0
No one-shot pulse trigger
1
One-shot pulse trigger used
R/W
R/W
In Other Modes
Timer output F/F control by
match of CR00 and TM0
Inversion operation disabled
Inversion operation enabled

Advertisement

Table of Contents
loading

Table of Contents