MOTOROLA
8-2
MC68HC05T16
PULSE WIDTH MODULATOR
8
is exited. After Stop mode is exited, the PWM output resumes its unfinished portion of the stopped
cycle. In Wait mode, the oscillator is running even though the CPU clock is not present, the PWM
outputs are not affected.
Note:
Since the 7-bit PWM module uses the 16-bit free-running timer counter, PWM outputs
will be affected when the counter is being reset.
8.2
14-Bit PWM Channel
The output waveform of the 14-bit PWM channel is controlled by an 8-bit and a 6-bit register. Each
register can be viewed as configuring its own waveform; the final PWM output waveform is a
combination of the two waveforms (waveforms are ORed). The driving clock for the 14-bit PWM
channels is CPU clock.
The 8-bit register works in the same way as the 7-bit PWMs. That is, the value set in this 8-bit
register determines the basic duty cycle of the waveform. A value of $00 results in a continuously
Figure 8-1 7-Bit PWM Output Waveform
Address
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
BRM
$35
9PWM5
9PWM4
9PWM3
9PWM2
9PWM1
9PWM0
0000 0000
PWM
$36
9PWM13 9PWM12 9PWM11 9PWM10 9PWM9
9PWM7
9PWM7
9PWM6
0000 0000
$00
487.62
µ
s
$01
$40
$7F
128T
127T
64T
64T
127T
T
T = PWM clock period = 2 Timer clock periods = 8 CPU clock periods =3.81
µ
s if MCU runs at 2.1MHz
PWM value
TPG
66
Summary of Contents for MC68HC05T16
Page 2: ......
Page 14: ...MOTOROLA vi MC68HC05T16 THIS PAGE LEFT BLANK INTENTIONALLY TPG 12 ...
Page 16: ...MOTOROLA viii MC68HC05T16 THIS PAGE LEFT BLANK INTENTIONALLY TPG 14 ...
Page 18: ...MOTOROLA x MC68HC05T16 THIS PAGE LEFT BLANK INTENTIONALLY TPG 16 ...
Page 54: ...MOTOROLA 5 12 MC68HC05T16 TIMERS 5 THIS PAGE LEFT BLANK INTENTIONALLY TPG 52 ...
Page 64: ...MOTOROLA 6 10 MC68HC05T16 M BUS SERIAL INTERFACE 6 THIS PAGE LEFT BLANK INTENTIONALLY TPG 62 ...
Page 110: ...MOTOROLA 12 4 MC68HC05T16 LOW POWER MODES 12 THIS PAGE LEFT BLANK INTENTIONALLY TPG 108 ...
Page 116: ...MOTOROLA 13 6 MC68HC05T16 OPERATING MODES 13 THIS PAGE LEFT BLANK INTENTIONALLY TPG 114 ...