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.