mc68hc908mr32 Freescale Semiconductor, Inc, mc68hc908mr32 Datasheet - Page 135

no-image

mc68hc908mr32

Manufacturer Part Number
mc68hc908mr32
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc68hc908mr32CB
Manufacturer:
FREESCALE
Quantity:
1 831
Part Number:
mc68hc908mr32CB
Manufacturer:
MOT
Quantity:
59
Part Number:
mc68hc908mr32CFU
Manufacturer:
FREESCALE
Quantity:
3
Part Number:
mc68hc908mr32CFU
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
12.5.5 PWM Output Port Control
Conditions may arise in which the PWM pins need to be individually controlled. This is made possible by
the PWM output control register (PWMOUT) shown in
If the OUTCTL bit is set, the PWM pins can be controlled by the OUTx bits. These bits behave according
to
When OUTCTL is set, the polarity options TOPPOL and BOTPOL will still affect the outputs. In addition,
if complementary operation is in use, the PWM pairs will not be allowed to be active simultaneously, and
dead-time will still not be violated. When OUTCTL is set and complementary operation is in use, the odd
OUTx bits are inputs to the dead-time generators as shown in
whenever the odd OUTx bit toggles as shown in
the even OUTx bits change, there will be no dead-time violation as shown in
Setting the OUTCTL bit does not disable the PWM generator and current sensing circuitry. They continue
to run, but are no longer controlling the output pins. In addition, OUTCTL will control the PWM pins even
when PWMEN = 0. When OUTCTL is cleared, the outputs of the PWM generator become the inputs to
the dead-time and output circuitry at the beginning of the next PWM cycle.
Freescale Semiconductor
Table
12-6.
Address:
OUTx Bit
Reset:
To avoid an unexpected dead-time occurrence, it is recommended that the
OUTx bits be cleared prior to entering and prior to exiting individual PWM
output control mode.
Read:
Write:
OUT1
OUT2
OUT3
OUT4
OUT5
OUT6
Figure 12-22. PWM Output Control Register (PWMOUT)
$0025
Bit 7
0
0
1 — PWM1 is active.
0 — PWM1 is inactive.
1 — PWM2 is complement of PWM 1.
0 — PWM2 is inactive.
1 — PWM3 is active.
0 — PWM3 is inactive.
1 — PWM4 is complement of PWM 3.
0 — PWM4 is inactive.
1 — PWM5 is active.
0 — PWM5 is inactive.
1 — PWM 6 is complement of PWM 5.
0 — PWM6 is inactive.
MC68HC908MR32 • MC68HC908MR16 Data Sheet, Rev. 6.1
= Unimplemented
OUTCTL
6
0
Complementary Mode
OUT6
Table 12-6. OUTx Bits
5
0
Figure
OUT5
NOTE
4
0
Figure
12-23. Although dead-time is not inserted when
OUT4
3
0
12-22.
Figure
OUT3
1 — PWM1 is active.
0 — PWM1 is inactive.
1 — PWM2 is active.
0 — PWM2 is inactive.
1 — PWM3 is active.
0 — PWM3 is inactive.
1 — PWM4 is active.
0 — PWM4 is inactive.
1 — PWM5 is active.
0 — PWM5 is inactive.
1 — PWM6 is active.
0 — PWM6 is inactive.
2
0
12-15. Dead-time is inserted
Independent Mode
OUT2
Figure
1
0
12-24.
OUT1
Bit 0
0
Output Control
135

Related parts for mc68hc908mr32