TIDUCL0 January 2017
MAX_DUTYCYCLE sets the maximum duty cycle the user can set. Every time the duty cycle input command is compared to the MAX_DUTYCYCLE. If the duty cycle input command exceeds the MAX_DUTYCYCLE, the target duty cycle is set to the MAX_DUTYCYCLE. This number is relative to the PWM_PERIOD.