Never test it but i hope it wait for a rising or falling edge. Usually i prefer to use the internal Timer or the PIC CCP module.
As it works.. you may stick to PULSIN or read the CCP tips and trick document of microchip bellow.
http://ww1.microchip.com/downloads/e...Doc/41214a.pdf




Bookmarks