no-OS
api_errors.h
Go to the documentation of this file.
1 
15 #ifndef __API_ERRORS_H__
16 #define __API_ERRORS_H__
17 
22 #include <errno.h>
23 
25 #define API_ERROR_OK 0
26 
27 #define API_ERROR_SPI_SDO (-EINVAL)
28 
29 #define API_ERROR_INVALID_HANDLE_PTR (-EINVAL)
30 
31 #define API_ERROR_INVALID_XFER_PTR (-EINVAL)
32 
33 #define API_ERROR_INVALID_DELAYUS_PTR (-EINVAL)
34 
35 #define API_ERROR_INVALID_PARAM (-EINVAL)
36 
37 #define API_ERROR_NOT_SUPPORTED (-ENOTSUP)
38 
39 #define API_ERROR_VCO_OUT_OF_RANGE (-EINVAL)
40 
41 #define API_ERROR_FTW_LOAD_ACK (-EFAULT)
42 
43 #define API_ERROR_NCO_NOT_ENABLED (-ENODEV)
44 
45 #define API_ERROR_INIT_SEQ_FAIL (-EFAULT)
46 
47 #define API_ERROR_TEST_FAILED -(ENODEV)
48 
49 #define API_ERROR_SPI_XFER -(ENODEV)
50 
51 #define API_ERROR_US_DELAY -(ENODEV)
52 
53 #define API_ERROR_TX_EN_PIN_CTRL -(ENODEV)
54 
55 #define API_ERROR_RESET_PIN_CTRL -(ENODEV)
56 
57 #define API_ERROR_EVENT_HNDL -(ENODEV)
58 
59 #define API_ERROR_HW_OPEN -(ENODEV)
60 
61 #define API_ERROR_HW_CLOSE -(ENODEV)
62 
64 #endif /* !__API_ERRORS_H__ */
errno.h
Error macro definition for ARM Compiler.