At 08:41 PM 1/24/05 +0000, you wrote:
>2. I know that you have to disable the IRQ for the period your
>accessing the Flash. Where is the code for this located? Is it in a
>general library as I cant seem to find it on my setup. I have found
>the assembly for it, but I don't want to replicate teh code if it is
>already somewhere.
It depends on your compiler. If you are using a GNU setup there is code in
the newlib-lpc support.
See http://www.aeolusdevelopment.com/Articles/download.html
You will want to look for the functions DisableInterrupts and
RestoreInterrupts. These are usable without needing the newlib file io
overhead.
Robert
" 'Freedom' has no meaning of itself. There are always restrictions,
be they legal, genetic, or physical. If you don't believe me, try to
chew a radio signal. "
Kelvin Throop, IIIMessage
Re: [lpc2000] LPC2129 IAP Questions
2005-01-24 by Robert Adsett
Attachments
- No local attachments were found for this message.