mc68hc912bd32 Freescale Semiconductor, Inc, mc68hc912bd32 Datasheet - Page 125

no-image

mc68hc912bd32

Manufacturer Part Number
mc68hc912bd32
Description
16-bit Device Composed Of Standard On-chip Peripherals
Manufacturer
Freescale Semiconductor, Inc
Datasheet
PWDTYx — PWM Channel Duty Registers
13-pwm
PWDTY0
PWDTY1
PWDTY2
PWDTY3
RESET
Bit 7
Bit 7
Bit 7
Bit 7
Bit 7
NOTE:
NOTE:
1
6
6
6
6
6
1
Period = [Channel-Clock-Period x (PWPER
Period = [Channel-Clock-Period
For Boundary Case programming values please refer to
Cases.
Read and write anytime.
For Boundary Case programming values please refer to
Cases.
value is written. Reading this register returns the most recent value
written. When in concatenated mode, the new period should be
written with a 16-bit access to both channels registers (0 & 1, or 2 &
3) for data coherency. 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.
The value in each duty register determines the duty of the associated
PWM channel. The duty value is compared to the counter and if it is
equal to the counter value a match occurs and he output changes
state. If the register is written to while the channel is enabled, then the
new value is held in the buffer until the counter reaches zero or the
channel is disabled and re-enabled. When in concatenated mode the
new period should be written to both channels registers (0 & 1, or 2 &
3) with a 16 bit access for data coherency. Reading this register
returns the most recent value written.
Freescale Semiconductor, Inc.
For More Information On This Product,
5
5
5
5
5
1
Go to: www.freescale.com
Pulse Width Modulator
4
4
4
4
4
1
3
3
3
3
3
1
PWPER x 2)](CENTR = 1)
2
2
2
2
2
1
1)](CENTR = 0)
1
1
1
1
1
1
MC68HC912BD32 Rev 1.0
PWM Register Description
Pulse Width Modulator
Bit 0
Bit 0
Bit 0
Bit 0
Bit 0
PWM Boundary
PWM Boundary
1
$0050
$0051
$0052
$0053

Related parts for mc68hc912bd32