Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/03/10 10:40
Read: times


 
#173772 - overheads
Responding to: ???'s previous message
i dont mind them being a few clock cycles out to be honest, the program need not be strict to within even a few nanoseconds, i was thinking about using a macro for delays in nanoseconds using the compiler to insert nops, but i really think that for now the timer should be accurate for what I am using it for.

could you make a comment on whether you think it would be better to reset the timer at each delay call, or whether i should write code to account for the overflow reset?

cheers for the comments thus far guys, Joel

List of 9 messages in thread
TopicAuthorDate
fixed length delays in C            01/01/70 00:00      
   Can't do it without assembly.            01/01/70 00:00      
      HLL gives no guarantees            01/01/70 00:00      
      Using a timer in C            01/01/70 00:00      
         overheads            01/01/70 00:00      
            Use a dedicated timer            01/01/70 00:00      
               non-functional code            01/01/70 00:00      
                  Interrupts aren't the biggest problem ...            01/01/70 00:00      
   break apart            01/01/70 00:00      

Back to Subject List