I need to use the eTimer module of MPC5744P to measure the signal from Hall sensor, whose signal is high volt or low volt.
So I need to use eTimer to measure the voltage to decide whether it is high voltage or low voltage.
Are there any example of eTimer of MPC5744P suitable for that function?
I know the eTimer module can detect the rising edge and falling edge and measure the duty cycle.
But I do not have any example of detecting the voltage is high or low.
Thank you.
Actually I do not want to measure the voltage.
The key point is to measure the signal from Hall sensor, which are three pulse trains.
I need to know whether each of the three signals is high or low.
Does the eTimer can capture the rising edge or falling edge only?
Or you have any advice on using eTimer to measure the signals from Hall sensor?
Thank you.