??? 08/22/05 13:42 Read: times |
#99820 - a program it is, by definition, asynchro Responding to: ???'s previous message |
"5) anything timing dependent that is not interrupt based is outlawed. "
In the interests of having provable software, one should minimise interrupts where possible, even eliminate them as they provide asynchronous interruption to the program flow. Exactly, and for that reason they should be interrupts. E.g. a serial communication that depend on a test in the workloop being frequent enough in all cases to drain the UART before next character overflow the SBUF is ridiculous. What is missing in your statement is If as much as one "IF" exist in a program it is, by definition, asynchronous - interrupts or not. Erik |