I'm using frdm-kl43z and processor expert. I'm trying to set up a simple pwm output for pin E24. I'm using component fsl_tpm.
I've configured the component as follows:
Not sure how to set the duty cycle, but I initialized the frequency as 250 kHz:
And just trying to initialize the output, I wrote this code:
Is this correct?