English
Language : 

MC68HC05T16 Datasheet, PDF (68/128 Pages) Motorola, Inc – High-density complementary metal oxide semiconductor (HCMOS) microcontroller unit
PWM value
$00
T
$01
487.62 µs
128T
127T
$40
64T
64T
127T
$7F
T = PWM clock period = 2 Timer clock periods = 8 CPU clock periods =3.81µs if MCU runs at 2.1MHz
Figure 8-1 7-Bit PWM Output Waveform
is exited. After Stop mode is exited, the PWM output resumes its unfinished portion of the stopped
8
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.
BRM
PWM
Address bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
$35
9PWM5 9PWM4 9PWM3 9PWM2 9PWM1 9PWM0
$36 9PWM13 9PWM12 9PWM11 9PWM10 9PWM9 9PWM7 9PWM7 9PWM6
State
on reset
0000 0000
0000 0000
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
MOTOROLA
8-2
PULSE WIDTH MODULATOR
TPG
MC68HC05T16