mc68hc05bs8 Freescale Semiconductor, Inc, mc68hc05bs8 Datasheet - Page 59

no-image

mc68hc05bs8

Manufacturer Part Number
mc68hc05bs8
Description
Mc68hc05 Family Of Low-cost Single-chip Microcontrollers.
Manufacturer
Freescale Semiconductor, Inc
Datasheet
RSA and RSB are the output pins of the RSPWM. They are connected such that, one of them is
the PWM output waveform, while the other is always zero. This is controlled by the Raster Polarity
bit (RSP) in the RSPWM register.
PB7 must be configured as an input port pin and the CRE bit in GPWMR must be set before it can
be used as the input pin for the RSPWM reset signal. Figure 7-4 shows a block diagram of the
RSPWM.
MC68HC05BS8
Counter reset
RCLK
PB7
RSPWMR ($0011)
RSPWM
RSPWM
counter
output
(PB7)
Counter value matches
RSPWM register
RSP
Figure 7-3 RSPWM Timing Example
Figure 7-4 RSPWM Block Diagram
PULSE WIDTH MODULATION
RSPWM counter
RSPWM logic
RSPW6:0
GPWMR bit 6
CRE
&
&
RSA
RSB
TPG
7

Related parts for mc68hc05bs8