XC912BC32CFU8 Motorola Semiconductor Products, XC912BC32CFU8 Datasheet - Page 140

no-image

XC912BC32CFU8

Manufacturer Part Number
XC912BC32CFU8
Description
M68HC12B Family Data Sheet
Manufacturer
Motorola Semiconductor Products
Datasheet
Pulse-Width Modulator (PWM)
11.2.6 PWM Scale Counter 0 Value
11.2.7 PWM Scale Register 1
11.2.8 PWM Scale Counter 1 Value
Data Sheet
140
Read: Anytime
PWSCNT0 is a down-counter that, upon reaching $00, loads the value of
PWSCAL0.
Read: Anytime
Write: Anytime
A write causes the scaler counter PWSCNT1 to load the PWSCAL1 value unless
it is 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 plus one and dividing again by two. When
PWSCAL1 = $FF, clock B is divided by 256 then divided by two to generate
clock S1.
Read: Anytime
PWSCNT1 is a down-counter that, upon reaching $00, loads the value of
PWSCAL1.
Address: $0045
Address: $0046
Address: $0047
Reset:
Reset:
Reset:
Read:
Read:
Read:
Write:
Write:
Write:
Figure 11-9. PWM Scale Counter Register 0 (PWSCNT0)
Figure 11-11. PWM Scale Counter 1 Value (PWSCNT1)
Bit 7
Bit 7
Bit 7
Bit 7
Bit 7
Bit 7
0
0
0
Figure 11-10. PWM Scale Register 1 (PWSCAL1)
Pulse-Width Modulator (PWM)
= Unimplemented
= Unimplemented
Bit 6
Bit 6
Bit 6
6
0
6
0
6
0
Bit 5
Bit 5
Bit 5
5
0
5
0
5
0
Bit 4
Bit 4
Bit 4
4
0
4
0
4
0
Bit 3
Bit 3
Bit 3
3
0
3
0
3
0
M68HC12B Family — Rev. 8.0
Bit 2
Bit 2
Bit 2
2
0
2
0
2
0
Bit 1
Bit 1
Bit 1
1
0
1
0
1
0
MOTOROLA
Bit 0
Bit 0
Bit 0
Bit 0
Bit 0
Bit 0
0
0
0

Related parts for XC912BC32CFU8