I need to change a led PWM duty cycle over time. (for fade in/fade out)
Is there a faster way to change only the duty cycle to set the TPM channel ?
(usign only once TPM_DRV_PwmStart at initialization)
TPM_DRV_SetEdgeAlignedPWMduty (uint32_t instance, uint8_t channel, uint8_t uDutyCyclePercent)
PwmStart seems to me a lot of code to do a simple change for duty cycle.