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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/08/03 15:20
Read: times


 
#43077 - RE: Instuction Cycle in C
Responding to: ???'s previous message
The following application note on the Keil web site discusses how to do this using a timer and an interrupt to generate 1ms delays.

http://www.keil.com/appnotes/docs/apnt_105.asp

If you want shorter periods, you can use the _nop_ inline function to insert a single NOP instruction into your program. So, for example,

_nop_();
_nop_();
_nop_();
_nop_();
_nop_();


Generates a 5-clock delay.

Jon

List of 4 messages in thread
TopicAuthorDate
Instuction Cycle in C            01/01/70 00:00      
   RE: Instuction Cycle in C            01/01/70 00:00      
      RE: Instuction Cycle in C            01/01/70 00:00      
         RE: Instuction Cycle in C            01/01/70 00:00      

Back to Subject List