no-OS
Macros | Functions
api_errors.h File Reference

API error codes header file. More...

#include <errno.h>
Include dependency graph for api_errors.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define API_ERROR_OK   0
 
#define API_ERROR_SPI_SDO   (-EINVAL)
 
#define API_ERROR_INVALID_HANDLE_PTR   (-EINVAL)
 
#define API_ERROR_INVALID_XFER_PTR   (-EINVAL)
 
#define API_ERROR_INVALID_DELAYUS_PTR   (-EINVAL)
 
#define API_ERROR_INVALID_PARAM   (-EINVAL)
 
#define API_ERROR_NOT_SUPPORTED   (-ENOTSUP)
 
#define API_ERROR_VCO_OUT_OF_RANGE   (-EINVAL)
 
#define API_ERROR_FTW_LOAD_ACK   (-EFAULT)
 
#define API_ERROR_NCO_NOT_ENABLED   (-ENODEV)
 
#define API_ERROR_INIT_SEQ_FAIL   (-EFAULT)
 
#define API_ERROR_TEST_FAILED   -(ENODEV)
 
#define API_ERROR_SPI_XFER   -(ENODEV)
 
#define API_ERROR_US_DELAY   -(ENODEV)
 
#define API_ERROR_TX_EN_PIN_CTRL   -(ENODEV)
 
#define API_ERROR_RESET_PIN_CTRL   -(ENODEV)
 
#define API_ERROR_EVENT_HNDL   -(ENODEV)
 
#define API_ERROR_HW_OPEN   -(ENODEV)
 
#define API_ERROR_HW_CLOSE   -(ENODEV)
 

Functions

char * adi_api_get_error_string (int error_code)
 Return string representation of the error code. More...
 

Detailed Description

API error codes header file.

This file contains all the error codes the API can possibly return. This is a common header file, used across different APIs.

Copyright(c) 2016 Analog Devices, Inc. All Rights Reserved. This software is proprietary to Analog Devices, Inc. and its licensors. By using this software you agree to the terms of the associated Analog Devices Software License Agreement.