English
Language : 

UPD784938 Datasheet, PDF (267/733 Pages) NEC – 16-Bit Single-Chip Microcontrollers
CHAPTER 9 TIMER/EVENT COUNTER 0
Figure 9-51. One-Shot Pulse Output Setting Procedure
One-shot pulse output
Set OSPC
OS0 ← 1
; Set to one-shot pulse output mode
Set CRC0
CRC0 ← 10H
Set P34 pin to control mode
PMC 3.4 ← 1
Set pulse width in CR00
Start count
CE0 ← 1
One-shot pulse output
ST0 ← 1
; Set bit 3 of TMC0
Preliminary User’s Manual U13987EJ1V0UM00
267