UPD784026 Renesas Electronics Corporation., UPD784026 Datasheet - Page 410

no-image

UPD784026

Manufacturer Part Number
UPD784026
Description
16/8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
13.3.2 PWM Pulse Output Enabling/Disabling
register (PWPR) and PWM modulo register (PWMn: n = 0, 1). As a result, PWM pulses with the active level specified by
ALVn (n = 0, 1) bit of the PWM control register (PWMC) are output from the PWM output pin.
and the PWM output pins are set to the state specified by the PM1, P1 and PUO registers.
(n = 0, 1) are specified. When PM1n = 1 (n = 0, 1) the input state is set, when PUO1 in the pull-up resistor option register
(PUO) is 1 the high level is set by the on-chip pull-up resistor, and when PUO1 = 0 the output high-impedance state is set.
13.3.3 PWM Pulse Active Level Specification
PWM output pins.
are shown in Figure 13-5.
output is enabled.
370
When PWM pulses are output, the ENn (n = 0, 1) bits of the PMC register are set (1) after data is set in the PWM prescaler
When the ENn bits of the PWMC are cleared (0), the PWM output unit immediately stops the PWM output operation
That is, when PM1n (n = 0, 1) in the port 1 mode register (PM1) is 0, the output state is set and the contents of P1n
The ALVn (n = 0, 1) bit of the PWM control register (PWMC) specify the active level of PWM pulses output from the
When ALVn bit is set (1), active-high level pulses are output, and when cleared (0), active-low level pulses are output.
When ALVn bit is rewritten, the PWM active level changes immediately. PWM output active level setting and pin states
Figure 13-5 shows the case where ALVn bit is switched when the ENn (n = 0/1) bit of the PWMC is set (1) and PWM
The pin state does not change if ALVn is rewritten when ENn bit is in the cleared (0) state.
Remark ENn = 1 (n = 0, 1)
PWMn
ALVn
Figure 13-5 PWM Output Active Level Setting
(Active-High)
CHAPTER 13 PWM OUTPUT UNIT
(ALVn Bit Rewrite)
(Active-Low)

Related parts for UPD784026