English
Language : 

MC68HC11P2 Datasheet, PDF (168/268 Pages) Motorola, Inc – Microcontrollers
Timing System
Freescale Semiconductor, Inc.
8.9.4 PWSCAL — PWM timer prescaler register
Address bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
Pulse width scale (PWSCAL) $0062 (bit 7) (6) (5) (4) (3) (2) (1) (bit 0) 0000 0000
Scaled clock S is generated by dividing clock A by the value in PWSCAL,
then dividing the result by two. If PWSCAL = $00, clock A is divided by
256, then divided by two to generate clock S.
8.9.5 PWEN — PWM timer enable register
Pulse width enable (PWEN)
Address bit 7 bit 6 bit 5
$0063 TPWSL DISCP 0
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
0 PWEN4PWEN3PWEN2PWEN10000 0000
Each timer has an enable bit to start its waveform output. Writing any of
these PWENx bits to one causes the associated port line to become an
output regardless of the state of the associated DDR bit. This does not
change the state of the DDR bit and when PWENx returns to zero the
DDR bit again controls I/O state. On the front end of the PWM timer the
clock is connected to the PWM circuit by the PWENx enable bit being
high. There is a synchronizing circuit to guarantee that the clock will only
be enabled or disabled at an edge.
PWEN contains 4 PWM enable bits — one for each channel. When an
enable bit is set to one, the pulse modulated signal becomes available
at the associated port pin.
TPWSL — PWM scaled clock test bit (Test mode only)
1 = Clock S output to PWSCAL register (Test only).
0 = Normal operation.
When TPWSL is one, clock S from the PWM timer is output to
PWSCAL register. Normal writing to the PWSCAL register still
functions.
DISCP — Disable compare scaled E clock (Test mode only)
1 = Match of period does not reset associated count register (Test
Technical Data
Timing System
For More Information On This Product,
Go to: www.freescale.com
MC68HC11P2 — Rev 1.0