English
Language : 

MC68HC05PV8 Datasheet, PDF (151/196 Pages) Freescale Semiconductor, Inc – Techinal Data - rev 1.9
Freescale Semiconductor, Inc.
Pulse Width Modulator
Registers
PRA3, PRA2, PRA1, PRA0 – PWM Clock Rate Bits
These bits select the input clock rate fPWM. For exact values see
Table 11-1.
The PWM clock rate bits are not latched until the end of conversion.
They affect the PWM output immediately. For proper operation these
control bits must not be changed during conversion.
PRA3:PRA0
0000
0001
0010
0011
0100
0101
0110
0111
Table 11-1 PWM Clock Rate
fPWM
fosc
fosc/1.5
fosc/2
fosc/3
fosc/4
fosc/6
fosc/8
fosc/12
PRA3:PRA0
1000
1001
1010
1011
1100
1101
1110
1111
fPWM
fosc/16
fosc/24
fosc/32
fosc/48
fosc/64
fosc/96
fosc/128
fosc/192
11.4.2 PWM Data Register
The PWM system has an 8-bit data register that holds the duty cycle for
the PWM output. This register can be changed at any time. When the
PWMDAT register is updated, the programmed value, as well as the
POL bit, take effect in the following conversion cycle. Note that if the
contents of PWMDAT are higher than the contents of PWMPR the
output will be permanently switched to the passive state (i.e. the same
result as PWMDAT = $00).
$002E Bit 7
6
5
4
3
2
1
Bit 0
Read:
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
Write:
Reset: 0
0
0
0
0
0
0
0
Figure 11-5 PWM Data Register (PWMDAT)
MC68HC(8)05PV8/A — Rev. 1.9
Pulse Width Modulator
For More Information On This Product,
Go to: www.freescale.com
Technical Data