Application of the APWM Mode
819
SPRUH22I – April 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
C28 Enhanced Capture (eCAP) Module
Example 8-1. Code Snippet for APWM Mode (continued)
// Set Duty cycle, that
is,
compare value
// Run Time (Instant 2, for example, another ISR call)
//======================\
ECap1Regs.CAP2 = 0x500;
// Set Duty cycle, that is, compare value