> 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) .
Message
Re: LPC2129 IAP Questions
2005-01-24 by Leighton Rowe
Attachments
- No local attachments were found for this message.