MC68HC912B32MFU8 MOTOROLA [Motorola, Inc], MC68HC912B32MFU8 Datasheet - Page 68

no-image

MC68HC912B32MFU8

Manufacturer Part Number
MC68HC912B32MFU8
Description
16-Bit Microcontroller
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
PWPRES — PWM Prescale Counter
PWSCAL0 — PWM Scale Register 0
PWSCNT0 — PWM Scale Counter 0 Value
PWSCAL1 — PWM Scale Register 1
PWSCNT1 — PWM Scale Counter 1 Value
68
MOTOROLA
RESET:
RESET:
RESET:
RESET:
RESET:
PWPRES is a free-running 7-bit counter. Read anytime. Write only in special mode (SMOD = 1).
Read and write anytime. A write will cause the scaler counter PWSCNT0 to load the PWSCAL0 value
unless in special mode with DISCAL = 1 in the PWTST register.
PWM channels 0 and 1 can select clock S0 (scaled) as its input clock by setting the control bit PCLK0
and PCLK1 respectively. Clock S0 is generated by dividing clock A by the value in the PWSCAL0 reg-
ister and dividing again by two. When PWSCAL0 = $00, clock A is divided by 256 then divided by two
to generate clock S0.
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 reg-
ister and dividing again by two. When PWSCAL1 = $00, 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.
Bit 7
Bit 7
Bit 7
Bit 7
Bit 7
Bit 7
Bit 7
Bit 7
Bit 7
0
0
0
0
0
0
Bit 6
6
0
6
6
0
6
6
0
6
6
0
6
6
0
5
5
0
5
5
0
5
5
0
5
5
0
5
5
0
4
4
0
4
4
0
4
4
0
4
4
0
4
4
0
3
3
0
3
3
0
3
3
0
3
3
0
3
3
0
2
2
0
2
2
0
2
2
0
2
2
0
2
2
0
1
1
0
1
1
0
1
1
0
1
1
0
1
1
0
MC68HC912B32TS/D
Bit 0
Bit 0
Bit 0
Bit 0
Bit 0
Bit 0
Bit 0
Bit 0
Bit 0
Bit 0
MC68HC912B32
0
0
0
0
0
$0043
$0044
$0045
$0046
$0047

Related parts for MC68HC912B32MFU8