mc68hc912d60c Freescale Semiconductor, Inc, mc68hc912d60c Datasheet - Page 216

no-image

mc68hc912d60c

Manufacturer Part Number
mc68hc912d60c
Description
Hc12 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Pulse Width Modulator
PWSCNT0 — PWM Scale Counter 0 Value
PWSCAL1 — PWM Scale Register 1
PWSCNT1 — PWM Scale Counter 1 Value
Technical Data
216
RESET:
RESET:
RESET:
Bit 7
Bit 7
Bit 7
Bit 7
Bit 7
Bit 7
0
0
0
6
6
0
6
6
0
6
6
0
PWSCNT0 is a down-counter that, upon reaching $00, loads the value
of PWSCAL0. Read any time.
Read and write anytime. A write will cause the scaler counter PWSCNT1
to load the PWSCAL1 value unless in special mode with DISCAL = 1 in
the PWTST register.
PWM channels 2 and 3 can select clock S1 (scaled) as its input clock by
setting the control bit PCLK2 and PCLK3 respectively. Clock S1 is
generated by dividing clock B by the value in the PWSCAL1 register + 1
and dividing again by two. When PWSCAL1 = $FF, clock B is divided by
256 then divided by two to generate clock S1.
PWSCNT1 is a down-counter that, upon reaching $00, loads the value
of PWSCAL1. Read any time.
5
5
0
5
5
0
5
5
0
Pulse Width Modulator
4
4
0
4
4
0
4
4
0
3
3
0
3
3
0
3
3
0
2
2
0
2
2
0
2
2
0
MC68HC912D60A — Rev. 3.1
1
1
0
1
1
0
1
1
0
Freescale Semiconductor
Bit 0
Bit 0
Bit 0
Bit 0
Bit 0
Bit 0
0
0
0
$0045
$0046
$0047

Related parts for mc68hc912d60c