lpcware

IAP in LPC

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by raguramangopal on Sat Dec 21 12:07:51 MST 2013
#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 below code

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

Outcomes