mcf5272 Freescale Semiconductor, Inc, mcf5272 Datasheet - Page 411

no-image

mcf5272

Manufacturer Part Number
mcf5272
Description
Mcf5272 Coldfire Integrated Microprocessor User
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mcf5272CVF66
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mcf5272CVF66
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mcf5272CVF66 K75N
Manufacturer:
ST
Quantity:
18
Part Number:
mcf5272CVF66J
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mcf5272CVM66
Manufacturer:
MOT
Quantity:
3
Part Number:
mcf5272CVM66
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mcf5272CVM66
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mcf5272CVM66
0
Company:
Part Number:
mcf5272CVM66
Quantity:
6 000
Part Number:
mcf5272CVM66J
Manufacturer:
NSC
Quantity:
36
Part Number:
mcf5272CVM66J
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mcf5272CVM66R2
0
Part Number:
mcf5272NF66K75N
Manufacturer:
MOTOROLA
Quantity:
2
Part Number:
mcf5272VF66
Manufacturer:
HYNIX
Quantity:
19
Part Number:
mcf5272VF66
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mcf5272VF66
Manufacturer:
FREESCALE
Quantity:
20 000
MOTOROLA
18.3.1 PWM Control Register (PWCRn)
This register, shown in Figure 18-2, controls the overall operation of the PWM. Unless
disabled and then re-enabled, writing to PWCR while the PWM is running will not alter its
operation until the current output cycle finishes. For example, if the prescale value is
changed while the PWM is enabled, the new value will not take effect until after the counter
has “wrapped around”. The PWM must be disabled and then re-enabled to affect its
operation before the end of the current output cycle.
Table 18-2 gives PWCR field descriptions.
Bits
3–0
7
6
5
4
Name
FRC1 Force output high.
CKSL Prescale clock. These bits select the clock frequency divider, that is, the output of the
LVL
EN
Address
Reset
Field
R/W
Enable.
0 Disables the PWM. While disabled, the PWM is in low-power mode and the prescaler
1 Enables the PWM.
0 Default reset value. PWM functions normally.
1 The PWM drives the output high for the entire counter period. PWCRn[FRC1] has a
Disable level. Determines the PWM output level whenever the PWM is disabled.
0 The PWM output is low while disabled.
1 The PWM output is high while disabled.
Reserved, should be cleared.
divider chain, as shown below.
CKSL[3:0] Divisor
does not count. When the PWM is disabled, the output is forced to the value of
PWCRn[LVL].
lower priority than PWCRn[EN], so setting PWCRn[FRC1] while PWCRn[EN] is
cleared has no effect. There are two ways to drive the PWM output high. If PWCRn[EN]
is cleared, PWM output immediately assumes the value of PWCRn[LVL]. If
PWCRn[FRC1] is set while PWCRn[EN] is set, the PWM output does not go high until
after the current output cycle completes.
0000
0001
0010
...
1111
Figure 18-2. PWM Control Registers (PWCRn)
Chapter 18. Pulse Width Modulation (PWM) Module
EN
7
MBAR + 0x0C0 (PWCR0); + 0x0C4 (PWCR1); + 0x0C8 (PWCR2)
Table 18-2. PWCRn Field Descriptions
32768
...
1
2
4
FRC1
6
LVL
5
4
0010_0000
Read/Write
Description
3
CKSEL
PWM Programming Model
0
18-3

Related parts for mcf5272