|  |  | 
|   | 
| Modules | |
| Command Codes | |
| Macros | |
| #define | ADCBuf_CMD_RESERVED (32) | 
| #define | ADCBuf_STATUS_RESERVED (-32) | 
| #define | ADCBuf_STATUS_SUCCESS (0) | 
| Success status code returned by: ADCBuf_control()  More... | |
| #define | ADCBuf_STATUS_ERROR (-1) | 
| Generic error status code returned by ADCBuf_control().  More... | |
| #define | ADCBuf_STATUS_UNDEFINEDCMD (-2) | 
| An error status code returned by ADCBuf_control() for undefined command codes.  More... | |
| #define | ADCBuf_STATUS_UNSUPPORTED (-3) | 
| An error status code returned if the function is not supported by a particular driver implementation.  More... | |
These ADCBuf macros are reservations for ADCBuf.h
| #define ADCBuf_CMD_RESERVED (32) | 
Common ADCBuf_control command code reservation offset. ADC driver implementations should offset command codes with ADCBuf_CMD_RESERVED growing positively
Example implementation specific command codes:
| #define ADCBuf_STATUS_RESERVED (-32) | 
Common ADCBuf_control status code reservation offset. ADC driver implementations should offset status codes with ADCBuf_STATUS_RESERVED growing negatively.
Example implementation specific status codes:
| #define ADCBuf_STATUS_SUCCESS (0) | 
Success status code returned by: ADCBuf_control()
Functions return ADCBuf_STATUS_SUCCESS if the call was executed successfully.
| #define ADCBuf_STATUS_ERROR (-1) | 
Generic error status code returned by ADCBuf_control().
ADCBuf_control() returns ADCBuf_STATUS_ERROR if the control code was not executed successfully.
| #define ADCBuf_STATUS_UNDEFINEDCMD (-2) | 
An error status code returned by ADCBuf_control() for undefined command codes.
ADCBuf_control() returns ADCBuf_STATUS_UNDEFINEDCMD if the control code is not recognized by the driver implementation.
| #define ADCBuf_STATUS_UNSUPPORTED (-3) | 
An error status code returned if the function is not supported by a particular driver implementation.