mc68hc912d60c Freescale Semiconductor, Inc, mc68hc912d60c Datasheet - Page 218

no-image

mc68hc912d60c

Manufacturer Part Number
mc68hc912d60c
Description
Hc12 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Pulse Width Modulator
PWPERx — PWM Channel Period Registers
PWDTYx — PWM Channel Duty Registers
Technical Data
218
PWDTY0
PWDTY1
PWDTY2
PWDTY3
RESET:
PWPER0
PWPER1
PWPER2
PWPER3
RESET:
Bit 7
Bit 7
Bit 7
Bit 7
Bit 7
Bit 7
Bit 7
Bit 7
Bit 7
Bit 7
1
1
6
6
6
6
6
1
6
6
6
6
6
1
Read and write anytime.
The value in the period register determines the period of the associated
PWM channel. If written while the channel is enabled, the new value will
not take effect until the existing period terminates, forcing the counter to
reset. The new period is then latched and is used until a new period
value is written. Reading this register returns the most recent value
written. To start a new period immediately, write the new period value
and then write the counter forcing a new period to start with the new
period value.
Period = Channel-Clock-Period × (PWPER + 1)
Period = Channel-Clock-Period × (2 × PWPER)
Read and write anytime.
5
5
5
5
5
1
5
5
5
5
5
1
Pulse Width Modulator
4
4
4
4
4
1
4
4
4
4
4
1
3
3
3
3
3
1
3
3
3
3
3
1
2
2
2
2
2
1
2
2
2
2
2
1
MC68HC912D60A — Rev. 3.1
1
1
1
1
1
1
1
1
1
1
1
1
Freescale Semiconductor
Bit 0
Bit 0
Bit 0
Bit 0
Bit 0
Bit 0
Bit 0
Bit 0
Bit 0
Bit 0
1
1
(CENTR = 0)
(CENTR = 1)
$004C
$004D
$004E
$004F
$0050
$0051
$0052
$0053

Related parts for mc68hc912d60c