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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/18/01 06:19
Read: times


 
#13289 - RE: Mix language
Hi Bordyn,

there are only minimum timing conditions on I2C.
With the assumption, that any C instruction need minimal one cycle (1µs at 12MHz) for execution, you can generate all timings with inserting a count of NOP instructions until you meet the minimal timing requirements. Please look on my example:

http://www.specs.de/~danni/ap.../index.htm


Only on more critical timings, e.g. Dallas 1-wire bus, you must look on the generated assembler code and adjust it manually.

With the option to compile to an assembler file, you get already all needed variablen and function declarations and parameter passing and can adjust all timings on this assembler file.


Peter


List of 19 messages in thread
TopicAuthorDate
Mix language            01/01/70 00:00      
RE: Mix language            01/01/70 00:00      
RE: Mix language            01/01/70 00:00      
RE: Mix language            01/01/70 00:00      
RE: Mix language            01/01/70 00:00      
RE: Mix language            01/01/70 00:00      
RE: Mix language            01/01/70 00:00      
RE: Raisonance v Keil            01/01/70 00:00      
RE: Mix language            01/01/70 00:00      
RE: Mix language            01/01/70 00:00      
RE: Mix language            01/01/70 00:00      
RE: Mix language            01/01/70 00:00      
RE: Mix language            01/01/70 00:00      
RE: Mix language            01/01/70 00:00      
RE: Mix language            01/01/70 00:00      
RE: Mix language            01/01/70 00:00      
RE: Mix language            01/01/70 00:00      
RE: Mix language            01/01/70 00:00      
RE: Mix language            01/01/70 00:00      

Back to Subject List