Header file is required or not??

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Header file is required or not??

995 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Prajakta_26 on Tue Jan 26 23:30:26 MST 2016
Hello,

I have just installed LPCXpresso_7.9.0_455 on windows 8.
I want to use this with LPC2138. whether I required "LPC213x.h" file?
If yes please tell me how can I get it?
If No any header required , Can I access the registers of LPC2138 & how ?
0 Kudos
Reply
2 Replies

979 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Prajakta_26 on Wed Jan 27 01:54:51 MST 2016
Thanks for example code.

If I don't use "LPC213x.h"  file, then can I access LPC2138 registers ? & how?
0 Kudos
Reply

979 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Wed Jan 27 01:26:00 MST 2016
You can use it if you want too. A version is supplied in the LPCXpresso Examples directory within your installation ...

[install_dir]\lpcxpresso\Examples\Legacy\LPCXpresso_old_headers.zip


Just import that ZIP into your workspace,
But you probably want to take a look at the sample code bundle :

https://www.lpcware.com/content/nxpfile/sample-code-bundle-lpc213xlpc214x-peripherals-using-keils-μv...

Hints and tips on porting code from the Keil compiler to GCC used in LPCXpresso IDE can be found in :

https://www.lpcware.com/content/faq/lpcxpresso/porting-code-other-toolchains

Regards,
LPCXpresso Support


0 Kudos
Reply