AFBR-S50 API Reference Manual v1.5.6
AFBR-S50 Time-of-Flight Sensor SDK for Embedded Software
Loading...
Searching...
No Matches
argus_status.h
Go to the documentation of this file.
1/*************************************************************************/
37#ifndef ARGUS_STATUS_H
38#define ARGUS_STATUS_H
39#ifdef __cplusplus
40extern "C" {
41#endif
42
43#include <stdint.h>
44
45/*!***************************************************************************
46 * @defgroup argus_status Status Codes
47 * @ingroup argus
48 *
49 * @brief Status and Error Code Definitions
50 *
51 * @details Defines status and error codes for function return values.
52 * Basic status number structure:
53 * - 0 is OK or no error.
54 * - negative values determine errors.
55 * - positive values determine warnings or status information.
56 * .
57 *
58 * @addtogroup argus_status
59 * @{
60 *****************************************************************************/
61
62/*!***************************************************************************
63 * @brief Type used for all status and error return values.
64 * @details Basic status number structure:
65 * - 0 is OK or no error.
66 * - negative values determine errors.
67 * - positive values determine warnings or status information.
68 * .
69 *****************************************************************************/
70typedef int32_t status_t;
71
74{
75 /**********************************************************************************************
76 ********** Generic Status ********************************************************************
77 *********************************************************************************************/
78
81
84
87
90
93
96
99
102
105
108
111
114
117
120
121
122 /**********************************************************************************************
123 ********** S2PI Layer Status *****************************************************************
124 *********************************************************************************************/
125
128
131
134
137
140
143
144
145 /**********************************************************************************************
146 ********** NVM / Flash Layer Status *********************************************************
147 *********************************************************************************************/
148
151
154
155
156 /**********************************************************************************************
157 ********** AFBR-S50 Specific Status **********************************************************
158 *********************************************************************************************/
159
164
168
172
176
183
187
190
193
198
201
204
208
214
219
222
225
228
237
240
243
247
250
253
256
257
261
265
269
273
277
280
281};
282
284#ifdef __cplusplus
285} // extern "C"
286#endif
287#endif /* ARGUS_STATUS_H */
Status
Definition argus_status.h:74
int32_t status_t
Type used for all status and error return values.
Definition argus_status.h:70
@ STATUS_ARGUS_STARTING
Definition argus_status.h:276
@ STATUS_ARGUS_BUSY_MEAS
Definition argus_status.h:272
@ STATUS_S2PI_GPIO_MODE
Definition argus_status.h:127
@ ERROR_NOT_INITIALIZED
Definition argus_status.h:113
@ ERROR_ARGUS_DATA_INTEGRITY_LOST
Definition argus_status.h:236
@ STATUS_BUSY
Definition argus_status.h:89
@ STATUS_INITIALIZING
Definition argus_status.h:92
@ ERROR_ARGUS_INVALID_CFG
Definition argus_status.h:192
@ STATUS_ARGUS_POWERLIMIT
Definition argus_status.h:167
@ STATUS_IGNORE
Definition argus_status.h:86
@ STATUS_ARGUS_BUSY_TEST
Definition argus_status.h:260
@ ERROR_S2PI_INVALID_BAUDRATE
Definition argus_status.h:139
@ ERROR_TIMEOUT
Definition argus_status.h:110
@ ERROR_ARGUS_XTALK_AMPLITUDE_EXCEEDANCE
Definition argus_status.h:224
@ ERROR_ARGUS_UNKNOWN_CHIP
Definition argus_status.h:252
@ ERROR_S2PI_INVALID_STATE
Definition argus_status.h:136
@ ERROR_S2PI_TX_ERROR
Definition argus_status.h:133
@ STATUS_ARGUS_PLL_NOT_LOCKED
Definition argus_status.h:171
@ ERROR_OUT_OF_RANGE
Definition argus_status.h:104
@ STATUS_OK
Definition argus_status.h:80
@ ERROR_FAIL
Definition argus_status.h:95
@ STATUS_ARGUS_NO_OBJECT
Definition argus_status.h:175
@ ERROR_ARGUS_INVALID_MODE
Definition argus_status.h:203
@ ERROR_ABORTED
Definition argus_status.h:98
@ ERROR_ARGUS_BUFFER_EMPTY
Definition argus_status.h:197
@ ERROR_ARGUS_EEPROM_FAILURE
Definition argus_status.h:213
@ STATUS_IDLE
Definition argus_status.h:83
@ STATUS_ARGUS_EEPROM_BIT_ERROR
Definition argus_status.h:182
@ ERROR_ARGUS_BUSY
Definition argus_status.h:246
@ STATUS_ARGUS_BUSY_CAL_SEQ
Definition argus_status.h:268
@ ERROR_INVALID_ARGUMENT
Definition argus_status.h:107
@ ERROR_ARGUS_NOT_CONNECTED
Definition argus_status.h:189
@ ERROR_ARGUS_BGL_EXCEEDANCE
Definition argus_status.h:221
@ ERROR_S2PI_INVALID_SLAVE
Definition argus_status.h:142
@ STATUS_ARGUS_ACTIVE
Definition argus_status.h:279
@ STATUS_ARGUS_BUSY_UPDATE
Definition argus_status.h:264
@ ERROR_NVM_OUT_OF_RANGE
Definition argus_status.h:153
@ ERROR_S2PI_RX_ERROR
Definition argus_status.h:130
@ ERROR_ARGUS_VSUB_CALIBRATION_FAILED
Definition argus_status.h:242
@ ERROR_NOT_IMPLEMENTED
Definition argus_status.h:119
@ ERROR_ARGUS_UNKNOWN_MODULE
Definition argus_status.h:249
@ STATUS_ARGUS_INVALID_EEPROM
Definition argus_status.h:186
@ ERROR_ARGUS_UNKNOWN_LASER
Definition argus_status.h:255
@ ERROR_NVM_EMPTY
Definition argus_status.h:150
@ ERROR_READ_ONLY
Definition argus_status.h:101
@ ERROR_ARGUS_INVALID_SLAVE
Definition argus_status.h:200
@ ERROR_ARGUS_RANGE_OFFSET_CALIBRATION_FAILED
Definition argus_status.h:239
@ ERROR_ARGUS_BIAS_VOLTAGE_REINIT
Definition argus_status.h:207
@ ERROR_ARGUS_LASER_FAILURE
Definition argus_status.h:227
@ ERROR_NOT_SUPPORTED
Definition argus_status.h:116
@ ERROR_ARGUS_STALLED
Definition argus_status.h:218
@ STATUS_ARGUS_BUFFER_BUSY
Definition argus_status.h:163