AG Access Architecture
2.10 Errors
(Page 11 of 11 in this chapter)
- All AG Access functions return a status code when invoked. If the return code is
not SUCCESS (0), it is an error code and the function has failed. AG Access error
codes are defined in the include file adidef.h and are prefixed with ADIERR_.
- Asynchronous functions return SUCCESS if the input arguments and port state
are valid and the command was sent to the AG board. SUCCESS, in this case,
means the function was initiated and a done event will be generated for the
function.
- If an asynchronous function fails on the AG board, AG Access delivers a done
event to the application and the event value field contains an error code.
-
(Page 11 of 11 in this chapter)
Copyright 1996 Natural MicroSystems, Inc. All Rights Reserved.