Dear friends ...

I am making a code which generates a hardware pulse width modultaed frequency (HPWM) using HPWM command as follows :
HPWM 1,210,1340
then i want to measure time between ultrasonic signal transmission and receiving it again to measure distance ....
the problem is that i knew that hpwm uses timer1 and i am intending to use it for measuring time , Can this be done ? or there will be an conflict in operating timer1 for hpwm and as a time counter.