no-OS
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
api_errors.h
Go to the documentation of this file.
1
14
15#ifndef __API_ERRORS_H__
16#define __API_ERRORS_H__
17
21
22#include <errno.h>
23
25#define API_ERROR_OK 0
27#define API_ERROR_SPI_SDO (-EINVAL)
29#define API_ERROR_INVALID_HANDLE_PTR (-EINVAL)
31#define API_ERROR_INVALID_XFER_PTR (-EINVAL)
33#define API_ERROR_INVALID_DELAYUS_PTR (-EINVAL)
35#define API_ERROR_INVALID_PARAM (-EINVAL)
37#define API_ERROR_NOT_SUPPORTED (-ENOTSUP)
39#define API_ERROR_VCO_OUT_OF_RANGE (-EINVAL)
41#define API_ERROR_FTW_LOAD_ACK (-EFAULT)
43#define API_ERROR_NCO_NOT_ENABLED (-ENODEV)
45#define API_ERROR_INIT_SEQ_FAIL (-EFAULT)
47#define API_ERROR_TEST_FAILED -(ENODEV)
49#define API_ERROR_SPI_XFER -(ENODEV)
51#define API_ERROR_US_DELAY -(ENODEV)
53#define API_ERROR_TX_EN_PIN_CTRL -(ENODEV)
55#define API_ERROR_RESET_PIN_CTRL -(ENODEV)
57#define API_ERROR_EVENT_HNDL -(ENODEV)
59#define API_ERROR_HW_OPEN -(ENODEV)
61#define API_ERROR_HW_CLOSE -(ENODEV)
62
64#endif /* !__API_ERRORS_H__ */
Error macro definition for ARM Compiler.