Hello,
I want to read ADC value of PWM signal.
ADC values are changed.
If read ADC value at lowest value of PWM, it report 0.
But if read ADC value at highest value of PWM, it report Vcc.
I can check MPC5643L_PWM_ADC_concept.pdf and find below image.

I want to read ADC at highest value of PWM.
How I can approach it?
Duty cycle of PWM can be changed.
Thanks in advance.