C reference manual

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

C reference manual

926 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Dave3891 on Wed Jun 08 22:59:10 MST 2011
Does anyone have a gook link for a site or PDF of a reference manual for programming the LPCxpresso in C?

I know that the Red Code comes with examples, but I am looking for a reference / list for all the functions such as [SIZE=2][SIZE=3]GPIOSetDir, [/SIZE][SIZE=2][SIZE=3]enable_timer16, [SIZE=2][SIZE=3]GPIOInit, etc.[/SIZE][/SIZE][/SIZE][/SIZE][/SIZE]
[SIZE=2][SIZE=2][SIZE=3][SIZE=2][SIZE=3][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE]
[SIZE=2][SIZE=2][SIZE=3][SIZE=2][SIZE=3]Thanks[/SIZE][/SIZE][/SIZE][/SIZE][/SIZE]
[SIZE=2][SIZE=2][SIZE=3][SIZE=2][SIZE=3]Dave[/SIZE]
[/SIZE][/SIZE][/SIZE][/SIZE]
0 Kudos
Reply
3 Replies

917 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Rob65 on Fri Jun 10 12:41:58 MST 2011
the lpc1xxx.h does not do much more than provide the symbols that are written down in the lpc1xxx user manual to the programmer as C defines.

As far as the other functions go, the functions in the CMS project are defined in the CMS specification by Arm and functions like GPIOSetDir, enable_timer etc are all specific to some example projects.

I agree with Zero: these functions were deprecated even before they were written. Do not assume that any of these function will do what you want them to.
There is no standard library to use the peripherals in the lpc1xxx but there always is the user manual telling you how to program these peripherals.

Rob
0 Kudos
Reply

917 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Dave3891 on Thu Jun 09 06:36:34 MST 2011
I tryed control-H and it does allow me to search for functions.

But I am looking for ALL of the functions that are avaliable for this chip and a description of what they do.
Something like a document of the lcp1xxx.h and other header files.

I looked in the getting started guide, but I could not find anything.

I must be looking in the wrong places or something?


Thanks
Dave
0 Kudos
Reply

917 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Thu Jun 09 00:40:36 MST 2011
Isn't that a little bit old fashioned, a list of function that's outdated before it's written :confused:

If you are trying to find this functions in real LPCXpresso, CTRL-H is a good friend to find things like that somewhere in workspace[SIZE=3] :)[/SIZE][SIZE=2][SIZE=2][SIZE=3][SIZE=2][SIZE=3]
[/SIZE][/SIZE][/SIZE][/SIZE][/SIZE]
0 Kudos
Reply