1 of 1 people found this helpful
You can open the PWM code example, find the API:
_VAL2FLD(TCPWM_CNT_CTRL_GENERIC, ((CY_TCPWM_PWM_MODE_DEADTIME == config->pwmMode) ?
config->deadTimeClocks : config->clockPrescaler)));
If PWM in DT mode, you can change the Dead time use the API.
But you can set the value in the component like:
Thanks, im actually trying to modify the dead time clock through code. I mean the dead time clocks are not going to be fixed, its going to be modified on the go.