Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Delay Function

2004-12-20 by Robert Adsett

At 07:51 PM 12/20/04 +0000, you wrote:
>does anybody have or know the best way to make a little function in a
>C ompiler to make a delay with a LPC2106? Let's say 10mSeg... My clock
>is 60Mhz...

There is a delay function in the newlib lpc support ( 
http://www.aeolusdevelopment.com ).  It's been decoupled from the std C I/O 
support so should be useable even if you don't use newlib.

It uses one of the timer match registers which doesn't have an output pin.

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, III

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.