[ARM] IAP in LPC controllers

Status
Not open for further replies.

Ragu Raman

Newbie level 2
Joined
Nov 28, 2013
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
11
#define IAP_LOCATION 0x7ffffff1
...
unsigned long command[5];
unsigned long result[3];
...
typedef void (*IAP)(unsigned int [],unsigned int[]);
IAP iap_entry;

iap_entry = (IAP) IAP_LOCATION;

iap_entry(command, result);

Can someone explain how it works, especially:

iap_entry = (IAP) IAP_LOCATION;
iap_entry(command, result)
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…