ICCPROP C Ping
jazzed
Posts: 11,803
Please "peer review" this ICCPROP C Ping test code/driver before I commit to obex.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve
Propalyzer: Propeller PC Logic Analyzer
http://forums.parallax.com/showthread.php?p=788230
Post Edited (jazzed) : 3/19/2009 5:15:34 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve
Propalyzer: Propeller PC Logic Analyzer
http://forums.parallax.com/showthread.php?p=788230
Post Edited (jazzed) : 3/19/2009 5:15:34 PM GMT
Comments
Allen suggested that I'm missing a good opportunity to demonstrate how to use ICCPROP ASM, so I added the ping_asm.s file to define ping_clocks. The ping.c module retains the equivalent ping_clockc C function for comparison. The private ping_convert chooses which ping_clock variant to use for getting the ping pulse width ... both functions yield the same result.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve
Propalyzer: Propeller PC Logic Analyzer
http://forums.parallax.com/showthread.php?p=788230