English
Language : 

UPD784938 Datasheet, PDF (225/733 Pages) NEC – 16-Bit Single-Chip Microcontrollers
CHAPTER 9 TIMER/EVENT COUNTER 0
(5) One-shot pulse output control register (OSPC)
OSPC is an 8-bit register that specifies enabling/disabling of one-shot pulse output by a software trigger and the output
level, etc.
OSPC can be read or written to with an 8-bit manipulation instruction or bit manipulation instruction.
The format of OSPC is shown in Figure 9-6.
RESET input clears OSPC to 00H.
Figure 9-6. One-Shot Pulse Output Control Register (OSPC) Format
7
6
5
4
3
2
1
0 Address After reset R/W
OSPC ST1 RT1 0
OS1 ST0 RT0
0
OS0 0FF7DH
00H
R/W
OS0
TO0 Pulse Output Type Selection
0 Toggle output/PWM output/PPG output
selectable
1 Software triggerd one-shot pulse selectable
ST0 RT0
TO0 Output Control
0
0 Output not changed
0
1 Inactive level output to TO0
1
0 Active level output to TO0
1
1 Setting prohibited
OS1
TO1 Pulse Output Type Selection
0 Toggle output/PWM output/PPG output
selectable
1 Software triggerd one-shot pulse output
ST1 RT1
TO1 Output Control
0
0 Output not changed
0
1 Inactive level output to TO1
1
0 Active level output to TO1
1
1 Setting prohibited
Remarks 1. The RT0, ST0, RT1, and ST1 bits are write-only, and show a value of “0” if read.
2. Pin pulse output disabling/enabling and active level setting are performed by means of the timer output control
register (TOC).
Preliminary User’s Manual U13987EJ1V0UM00
225