MAX32665-MAX32668 User Guide
Maxim Integrated Page 337 of 457
If TMRn_CN.tpol is 0, the ratio of the PWM output high time to the total period is calculated using Equation 16-7, below.
Equation 16-7: Timer PWM Output High Time Ratio with Polarity 0
If TMRn_CN.tpol is set to 1, the ratio of the PWM output high time to the total period is calculated using Equation 16-8.
Equation 16-8: Timer PWM Output High Time Ratio with Polarity 1
PWMoutputhightimeratio
%
TMRPWM
TMRCMP
100