73 PG1IOCONLbits.SWAP = 1;
76 PG2IOCONLbits.SWAP = 1;
79 PG3IOCONLbits.SWAP = 1;
107 PG1IOCONLbits.SWAP = 0;
110 PG2IOCONLbits.SWAP = 0;
112 case PWM_GENERATOR_3:
113 PG3IOCONLbits.SWAP = 0;
143inline static void PWM_DeadTimeLowSet(
PWM_GENERATOR genNum,uint16_t deadtimeLow)
147 PG1DTL = deadtimeLow;
150 PG2DTL = deadtimeLow;
152 case PWM_GENERATOR_3:
153 PG3DTL = deadtimeLow;
183inline static void PWM_DeadTimeHighSet(
PWM_GENERATOR genNum,uint16_t deadtimeHigh)
187 PG1DTH = deadtimeHigh;
190 PG2DTH = deadtimeHigh;
192 case PWM_GENERATOR_3:
193 PG3DTH = deadtimeHigh;
226 case PWM_GENERATOR_3:
252inline static void PWM_OverrideHighEnable(
PWM_GENERATOR genNum)
256 PG1IOCONLbits.OVRENH = 1;
259 PG2IOCONLbits.OVRENH = 1;
261 case PWM_GENERATOR_3:
262 PG3IOCONLbits.OVRENH = 1;
287inline static void PWM_OverrideLowEnable(
PWM_GENERATOR genNum)
291 PG1IOCONLbits.OVRENL = 1;
294 PG2IOCONLbits.OVRENL = 1;
296 case PWM_GENERATOR_3:
297 PG3IOCONLbits.OVRENL = 1;
325inline static void PWM_DutyCycleSet(
PWM_GENERATOR genNum,uint16_t dutyCycle)
334 case PWM_GENERATOR_3:
361inline static void PWM_OverrideHighDisable(
PWM_GENERATOR genNum)
365 PG1IOCONLbits.OVRENH = 0;
368 PG2IOCONLbits.OVRENH = 0;
370 case PWM_GENERATOR_3:
371 PG3IOCONLbits.OVRENH = 0;
396inline static void PWM_OverrideLowDisable(
PWM_GENERATOR genNum)
400 PG1IOCONLbits.OVRENL = 0;
403 PG2IOCONLbits.OVRENL = 0;
405 case PWM_GENERATOR_3:
406 PG3IOCONLbits.OVRENL = 0;
PWM_GENERATOR
Defines the PWM generators that are selected from the MCC Melody User Interface for the PWM output co...