English
Language : 

UPD784938 Datasheet, PDF (397/733 Pages) NEC – 16-Bit Single-Chip Microcontrollers
CHAPTER 15 PWM OUTPUT UNIT
15.2 PWM Output Unit Control Registers
15.2.1 PWM control register (PWMC)
PWMC is an 8-bit register that controls the operating status of the PWM output pins (PWMn: n = 0, 1).
PWMC can be read or written to with an 8-bit manipulation instruction or bit manipulation instruction. Its format is shown
in Figure 15-2.
When RESET is input, PWMC is set to 05H, the PWMn pin is disabled from outputting signals.
Figure 15-2. PWM Control Register (PWMC) Format
7
6
5
4
PWMC SYN1 0 SYN0 0
3
2
1
0 Address After reset R/W
EN1 ALV1 EN0 ALV0 0FF70H
05H
R/W
ALVn
(n = 0, 1)
PWMn Pin PWM Active Level Specification
0 Active-low
1 Active-high
ENn
PWMn Pin PWM Output Control
0 Output disabled
1 PWM output enabled
SYNn
PWM Pulse Width Rewrite Cycle
Specification
0 Rewritten every 16 PWM cycles (212/fPWMC)
1 Rewritten every PWM cycle (28/fPWMC)
Preliminary User’s Manual U13987EJ1V0UM00
397