|
API Documentation
9.14.00
|
Modules | |
| Command Codes | |
Macros | |
| #define | ADC_CMD_RESERVED |
| #define | ADC_STATUS_RESERVED |
| #define | ADC_STATUS_SUCCESS (0) |
| Successful status code returned by ADC_control(). More... | |
| #define | ADC_STATUS_ERROR (-1) |
| Generic error status code returned by ADC_control(). More... | |
| #define | ADC_STATUS_UNDEFINEDCMD (-2) |
| An error status code returned by ADC_control() for undefined command codes. More... | |
These ADC macros are reservations for ADC.h
| #define ADC_CMD_RESERVED |
Common ADC_control command code reservation offset. ADC driver implementations should offset command codes with ADC_CMD_RESERVED growing positively
Example implementation specific command codes:
| #define ADC_STATUS_ERROR (-1) |
Generic error status code returned by ADC_control().
ADC_control() returns ADC_STATUS_ERROR if the control code was not executed successfully.
| #define ADC_STATUS_RESERVED |
Common ADC_control status code reservation offset. ADC driver implementations should offset status codes with ADC_STATUS_RESERVED growing negatively.
Example implementation specific status codes:
| #define ADC_STATUS_SUCCESS (0) |
Successful status code returned by ADC_control().
ADC_control() returns ADC_STATUS_SUCCESS if the control code was executed successfully.
| #define ADC_STATUS_UNDEFINEDCMD (-2) |
An error status code returned by ADC_control() for undefined command codes.
ADC_control() returns ADC_STATUS_UNDEFINEDCMD if the control code is not recognized by the driver implementation.
1.8.12