![Texas Instruments AM1808 Technical Reference Manual Download Page 442](http://html.mh-extra.com/html/texas-instruments/am1808/am1808_technical-reference-manual_1094558442.webp)
APRD
TSCTR
FFFFFFFF
ACMP
0000000C
APWMx
(o/p pin)
On
time
Off−time
Period
1000h
500h
300h
Applications
442
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
Enhanced Capture (eCAP) Module
15.3.5
Application of the APWM Mode
15.3.5.1
Simple PWM Generation (Independent Channel/s) Example
In this example, the eCAP module is configured to operate as a PWM generator. Here a very simple
single channel PWM waveform is generated from output pin APWM
n
. The PWM polarity is active high,
which means that the compare value (CAP2 reg is now a compare register) represents the on-time (high
level) of the period. Alternatively, if the APWMPOL bit is configured for active low, then the compare value
represents the off-time.
Figure 15-14. PWM Waveform Details of APWM Mode Operation