This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

AGSI: Undocumented features

Hi,

Is there a complete description of the AGSI interface? I am currently examining http://www.keil.com/appnotes/docs/apnt_196.asp and http://www.keil.com/appnotes/docs/apnt_154.asp (which are basically the same) and finding that some features are poorly or not at all documented.

For example:

AgsiEntry

...

AGSI_PRERESET     Not Used                     Called before Reset, but CPU cycles still valid
AGSI_CMDOUT       Pointer to Text              Command output of 'exec' commands
AGSI_ONINTERRUPT  Pointer to Interrupt Number  Interrupt from a device
AGSI_ONRETI       Pointer to Interrupt Number  Interrupt acknowledged
AGSI_ENTERSLEEP   Not Used                     Power down mode entered
AGSI_EXITSLEEP    Not Used                     Power down mode exited

What are the "'exec' commands"? What is the type of the "Interrupt Number"? What should AgsiEntry() return in any of these cases? (In the code sample it always returns TRUE, but what happens if it returns FALSE?) etc

Sandy

0