??? 02/27/08 15:01 Read: times |
#151534 - Context needed! Responding to: ???'s previous message |
It would be helpful to know the context for this!
Something wrong here: Time_Out(500ms); //time out = 1 second;is it just the comment, just the code, or both?! They use the name of the monitor and then a !monitor, what is the purpose of the name and then the NOT it waits for the signal to be TRUE, then waits for it to become FALSE - in other words, a TRUE-to-FALSE transition (a falling edge, with positive logic) I assuming that in C that the transition edge is being searched for? Again, nothing specifically to do with 'C' - if you wait for a TRUE and then wait for a FALSE in any language, you effectively wait for a falling edge (positive logic). |
Topic | Author | Date |
Code snippet analysis | 01/01/70 00:00 | |
Context needed! | 01/01/70 00:00 | |
Correction![]() | 01/01/70 00:00 | |
analyzed | 01/01/70 00:00 | |
Just High-Low | 01/01/70 00:00 | |
No, he was right | 01/01/70 00:00 | |
You're Right | 01/01/70 00:00 | |
Depends | 01/01/70 00:00 | |
neon | 01/01/70 00:00 | |
Both wrong | 01/01/70 00:00 | |
glad I 'illuminated' :) | 01/01/70 00:00 | |
Equivalent to ... | 01/01/70 00:00 | |
thank guys.... | 01/01/70 00:00 | |
Could this hang forever? | 01/01/70 00:00 | |
hanging cha.. eh loops | 01/01/70 00:00 | |
Not forever by design | 01/01/70 00:00 |