Freescale Semiconductor, Inc.
Pulse Width Modulator
Bit 7
Bit 7
Bit 7
Bit 7
Bit 7
1
6
6
6
6
6
1
5
5
5
5
5
1
4
4
4
4
4
1
3
3
3
3
3
1
2
2
2
2
2
1
1
1
1
1
1
1
Bit 0
Bit 0
Bit 0
Bit 0
Bit 0
1
PWPER0
PWPER1
PWPER2
PWPER3
RESET:
$004C
$004D
$004E
$004F
PWPERx — PWM Channel Period Registers
Read and write anytime.
The value in the period register determines the period of the associated
PWM channel. If written while the channel is enabled, the new value will
not take effect until the existing period terminates, forcing the counter to
reset. The new period is then latched and is used until a new period
value is written. Reading this register returns the most recent value
written. To start a new period immediately, write the new period value
and then write the counter forcing a new period to start with the new
period value.
Period = Channel-Clock-Period × (PWPER + 1)
Period = Channel-Clock-Period × (2 × PWPER)
(CENTR = 0)
(CENTR = 1)
Bit 7
Bit 7
Bit 7
Bit 7
Bit 7
1
6
6
6
6
6
1
5
5
5
5
5
1
4
4
4
4
4
1
3
3
3
3
3
1
2
2
2
2
2
1
1
1
1
1
1
1
Bit 0
PWDTY0
PWDTY1
PWDTY2
PWDTY3
RESET:
Bit 0
Bit 0
Bit 0
Bit 0
1
$0050
$0051
$0052
$0053
PWDTYx — PWM Channel Duty Registers
Read and write anytime.
Advance Information
192
68HC(9)12D60 — Rev 4.0
MOTOROLA
Pulse Width Modulator
For More Information On This Product,
Go to: www.freescale.com