Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: LPC2129 IAP Questions

2005-01-24 by Leighton Rowe

> 1. How can you see the value of the status code? Is it output into 
a 
> variable anywhere?

From what I've seen. That variable would be status[0].

The UM gives a basic skeleton on how all IAP function calls and data 
structures work, but probably not enough intructions to make IAP 
calls easily understood.

With the given data structures, and IAP function call format

Data structures

 unsigned long cmd[5]
 unsigned long status[2]

IAP function call format(from User Manual)
typedef void (*IAP)(unsigned long[], unsigned long[]) 

Calling the IAP function "iap_entry(cmd, status)"  for example,  
will always process the IAP command arguments (passed into cmd) and 
store all statuses & results in the status array (usually status[0] 
will hold the status code) .

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.