Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] which register name to be used ?????

2004-12-08 by Robert Adsett

At 09:08 AM 12/8/04 -0800, you wrote:
>                            if you go by header file name in LPC21xx.H 
> then in example BLINKY of keil. It is stated U1THR for UART1Thansmit 
> holding register ( the name used in user manual)  and if you see in 
> header file UART1_THR

Are you using the Keil compiler?

If you are I would expect the header file distributed by them and the name 
in the source to match.  If not then use the name supported by your toolset 
(or add appropriate macros to translate).

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.