14-Bit Pwm Channel - Motorola MC68HC05T16 Technical Data Manual

Table of Contents

Advertisement

PWM value
$00
$01
$40
$7F
T = PWM clock period = 2 Timer clock periods = 8 CPU clock periods =3.81µs if MCU runs at 2.1MHz
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
8
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
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
T
64T
Figure 8-1 7-Bit PWM Output Waveform
Address
bit 7
bit 6
$35
$36
9PWM13 9PWM12 9PWM11 9PWM10 9PWM9 9PWM7 9PWM7 9PWM6
PULSE WIDTH MODULATOR
487.62µs
128T
127T
127T
bit 5
bit 4
bit 3
9PWM5 9PWM4 9PWM3 9PWM2 9PWM1 9PWM0
64T
bit 2
bit 1
bit 0
0000 0000
0000 0000
MC68HC05T16
State
on reset
TPG

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc68hc705t16

Table of Contents