What's on my site is what was extracted from the pjal docs specifically chapter 21 in this case.
Sunish On Sun, Jul 19, 2009 at 12:39 PM, Rob Hamerling <[email protected]>wrote: > > > Hi Joep, > > Joep Suijs wrote: > > > > While digging into pragma's I read: > > > > PRAGMA TARGET CLOCK cexpr Set the clock speed to cexpr. This is not > > used internally > > by the compiler. > > This is analogous to: CONST target_clock = cexpr. > > PRAGMA TARGET CLOCK can overwrite the CONST TARGET_CLOCK definition. > > > > I assumed that target_clock was used to calculate the proper delay. > > Wrong assumption or bug in the documentation? > > From Sunish site? (not the primary source of documentation, I'd say). > > > And... we already have constant overwrite ;) > > I think 'overwrite' should really be 'override' (supersede). > > Kyles file JalPragm.txt (coming with the compiler) has the following text: > > > PRAGMA TARGET CLOCK speed > > > > Analogous to: const target_clock = speed > > > > speed is in Hz. The compiler only needs this if the _usec_delay > > statement is used. > > So the compiler needs this constant *only* for _usec_delay calculations. > > Regards, Rob. > > > -- > Rob Hamerling, Vianen, NL (http://www.robh.nl/) > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jallib?hl=en -~----------~----~----~----~------~----~------~--~---
