![Dallas DS87C550 Скачать руководство пользователя страница 51](http://html1.mh-extra.com/html/dallas/ds87c550/ds87c550_user-manual-supplement_3298646051.webp)
DS87C550 High-Speed Microcontroller User’s Guide Supplement
51 of 93
PWM2 and PWM3 Clock Select Register (PW23CS)
7
6
5
4
3
2
1
0
SFR E2h
PW2S2
PW2S1
PW2S0
PW2EN
PW3S2
PW3S1
PW3S0
PW3EN
RW-0
RW-0
RW-0
RW-0
RW-0
RW-0
RW-0
RW-0
R=Unrestricted Read, W=Unrestricted Write, -n=Value after Reset
PW2S2:PW2S0
Bits 7-5
PWM2 Clock Select Bits.
These bits determine which of the available prescaler
outputs are selected as the PWM2 clock generator inputs. These bits operate as
indicated in the above description of PW01CS.
PW2EN
Bit 4
PWM2 Clock Generator Enable.
This bit enables (1) or disables (0) the clock
generator for 8-bit PWM channel 2 or 16-bit PWM channel 1 (when PWE0 = 1).
PW3S2:PW3S0
Bits 3-1
PWM3 Clock Select Bits.
These bits determine which of the available prescaler
outputs are selected as the PWM2 clock generator inputs. These bits operate as
indicated in the above description of PW01CS.
PW3EN
Bit 0
PWM3 Clock Generator Enable.
This bit enables (1) or disables (0) the clock
generator for 8-bit PWM channel 3. This bit has no effect in 16-bit mode.
PWM0 and PWM1 Control Register (PW01CON)
7
6
5
4
3
2
1
0
SFR E3h
PW0F
PW0DC
PW0OE
PW0T/C
PW1F
PW1DC
PW1OE
PW1T/C
RW-0
RW-0
RW-0
RW-0
RW-0
RW-0
RW-0
RW-0
R=Unrestricted Read, W=Unrestricted Write, -n=Value after Reset
PW0F
Bit 7
PWM0 Flag.
A 1 in this bit indicates that the 8-bit (or 16-bit, if PWE0=1) PWM
channel 0 timer has rolled over to zero after the maximum count. This bit must
be cleared by software.
PW0DC
Bit 6
PWM0 DC Overdrive.
Setting this bit to a 1 forces the 8-bit (or 16-bit, if
PWE0=1) PWM channel 0 to output a 1 regardless of the PWM match value.
PW0OE
Bit 5
PWM0 Output Enable.
This bit enables (1) or disables (0) the output associated
with 8-bit (or 16-bit, if PWE0=1) PWM channel 0. If the PWM output is
disabled (reset default condition), its output pin (PWMO0 = P6.0) is available as
a standard I/O pin.