This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LPC2368 UART register sizes in lpc23xx.h file?

I have a question about the lpc23xx.h file version 1.04

I was wondering why some of the UART registers were defined as unsigned long, when they appear to only be 8 bits (unsigned char)?
For example, the RBR, THR, DLL, DLM, FCR, LCR, LSR, SCR and TER registers for all the UARTS.
Is there a reason for this, or was this just a cut and paste typo?

0