Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
naibrd_1553_1760_status.h
Go to the documentation of this file.
2{
3 /* Note: */
4 /* Some of below return codes create a non required duplicity, and this situation is only retained in order to stay compatible with */
5 /* DDC. */
6 NAIBRD_1553_RC_SUCCESS = 0, /* No error occurred. (Equivalent DDC definition: */
7 /* ACE_ERR_SUCCESS) */
8 NAIBRD_1553_RC_UNKNOWN_ERROR = -501, /* An unknown error occurred. -1 */
9
10 NAIBRD_1553_RC_INVALID_DEVICE_NUMBER = -505, /* Bad device number. (Equivalent DDC definition: */
11 /* ACE_ERR_INVALID_DEVNUM) -50 */
12 NAIBRD_1553_RC_INVALID_ACCESS = -506, /* Bad access type. (Equivalent DDC definition: */
13 /* ACE_ERR_INVALID_ACCESS) -51 */
14 NAIBRD_1553_RC_INVALID_MODE = -507, /* Bad mode type. (Equivalent DDC definition: */
15 /* ACE_ERR_INVALID_MODE) -52 */
16 NAIBRD_1553_RC_INVALID_STATE = -508, /* Bad device state. (Equivalent DDC definition: */
17 /* ACE_ERR_INVALID_STATE) -53 */
18 NAIBRD_1553_RC_INVALID_ADDRESS = -510, /* Bad memory/register address. (Equivalent DDC definition: */
19 /* ACE_ERR_INVALID_ADDRESS) -55 */
20 NAIBRD_1553_RC_INVALID_BUFFER = -513, /* Bad buffer. (Equivalent DDC definition: */
21 /* ACE_ERR_INVALID_BUF) -58 */
22 NAIBRD_1553_RC_INVALID_TIME_TAG_RESOLUTION = -516, /* Bad time tag resolution. (Equivalent DDC definition: */
23 /* ACE_ERR_TIMETAG_RES) -61 */
24 NAIBRD_1553_RC_INVALID_CLOCK_FREQUENCY = -518, /* Bad clock input value. (Equivalent DDC definition: */
25 /* ACE_ERR_CLOCKIN) -63 */
26 NAIBRD_1553_RC_INVALID_PARAMETER = -520, /* Bad parameter. (Equivalent DDC definition: */
27 /* ACE_ERR_PARAMETER) -65 */
28 NAIBRD_1553_RC_INVALID_MODE_OPTIONS = -521, /* Invalid mode options. (Equivalent DDC definition: */
29 /* ACE_ERR_INVALID_MODE_OP) -66 */
30 NAIBRD_1553_RC_OPERATIONAL_STATISTICS_NOT_ENABLED = -522, /* Operational statistics collection not enabled. */
31 /* (Equivalent DDC definition: ACE_ERR_METRICS_NOT_ENA) -67 */
32 NAIBRD_1553_RC_NOT_SUPPORTED = -523, /* Function not supported. (Equivalent DDC definition: */
33 /* ACE_ERR_NOT_SUPPORTED) -68 */
34 NAIBRD_1553_RC_OPERATION_FAIL = -525, /* Operation failed. (Equivalent DDC definition: */
35 /* ACE_ERR_TASK_FAIL) -70 */
36 NAIBRD_1553_RC_UNDEFINED_NODE = -533, /* Could not find node in list. (Equivalent DDC definition: */
37 /* ACE_ERR_NODE_NOT_FOUND) -100 */
38 NAIBRD_1553_RC_ALLOCATION_FAIL = -536, /* Could not allocate memory block. (Equivalent DDC */
39 /* definition: ACE_ERR_MEMMGR_FAIL) -150 */
40 NAIBRD_1553_RC_MT_INVALID_STACK_OPTION = -539, /* Invalid buffer mode. (Equivalent DDC definition: */
41 /* ACE_ERR_MT_BUFTYPE) -300 */
42 NAIBRD_1553_RC_MT_INVALID_COMMAND_STACK_SIZE = -540, /* Invalid command stack size. (Equivalent DDC definition: */
43 /* ACE_ERR_MT_CMDSTK) -301 */
44 NAIBRD_1553_RC_MT_INVALID_DATA_STACK_SIZE = -541, /* Invalid data stack size. (Equivalent DDC definition: */
45 /* ACE_ERR_MT_DATASTK) -302 */
46 NAIBRD_1553_RC_MT_INVALID_STACK_SELECTOR = -545, /* Bad MT stack location. (Equivalent DDC definition: */
47 /* ACE_ERR_MT_STKLOC) -306 */
48 NAIBRD_1553_RC_MT_INVALID_HOST_BUFFER_SIZE = -547, /* Bad host buffer size. (Equivalent DDC definition: */
49 /* ACE_ERR_MT_HBUFSIZE) -308 */
50 NAIBRD_1553_RC_RT_DATA_BLOCK_EXISTS = -553, /* Data block already exists. (Equivalent DDC definition: */
51 /* ACE_ERR_RT_DBLK_EXISTS) -400 */
52 NAIBRD_1553_RC_RT_DATA_BLOCK_MAPPED = -555, /* Data block linked to SA. (Equivalent DDC definition: */
53 /* ACE_ERR_RT_DBLK_MAPPED) -402 */
54 NAIBRD_1553_RC_RT_HOST_BUFFER_NOT_INSTALLED = -557, /* RT host buffer not allocated. (Equivalent DDC definition: */
55 /* ACE_ERR_RT_HBUF) -410 */
56 NAIBRD_1553_RC_BC_OBJECT_ALREADY_EXISTS = -558, /* Object already exists in BC device memory. (Equivalent DDC */
57 /* definition: ACE_ERR_BC_DBLK_EXISTS) -500 */
58 NAIBRD_1553_RC_BC_INVALID_DATA_BLOCK_SIZE = -560, /* Data block size incorrect. (Equivalent DDC definition: */
59 /* ACE_ERR_BC_DBLK_SIZE) -502 */
60 NAIBRD_1553_RC_UNDEFINED_DATA_BLOCK = -561, /* Data block not found. (Equivalent DDC definition: */
61 /* ACE_ERR_UNRES_DATABLK) -503 */
62 NAIBRD_1553_RC_UNDEFINED_MESSAGE_BLOCK = -562, /* Message block not found. (Equivalent DDC definition: */
63 /* ACE_ERR_UNRES_MSGBLK) -504 */
64 NAIBRD_1553_RC_ILLEGAL_FRAME = -563, /* Illegal frame (e.g., causes underflow error). */
65 /* (Equivalent DDC definition: ACE_ERR_UNRES_FRAME) -505 */
66 NAIBRD_1553_RC_UNDEFINED_COMMAND = -564, /* Opcode block not found. (Equivalent DDC definition: */
67 /* ACE_ERR_UNRES_OPCODE) -506 */
68 NAIBRD_1553_RC_UNRESOLVED_JUMP = -565, /* Jump address out of frame. (Equivalent DDC definition: */
69 /* ACE_ERR_UNRES_JUMP) -507 */
70 NAIBRD_1553_RC_NOT_MAJOR_FRAME = -566, /* Frame not a major frame. (Equivalent DDC definition: */
71 /* ACE_ERR_FRAME_NOT_MAJOR) -508 */
72 NAIBRD_1553_RC_SUITABLE_ASYNCHRONOUS_MODE_UNDEFINED = -567, /* A suitable asynchronous mode has not been configured. */
73 /* (Equivalent DDC definition: ACE_ERR_NOT_ASYNC_MODE) -509 */
74 NAIBRD_1553_RC_ASYNCHRONOUS_LIST_IS_EMPTY = -569, /* Asynchronous message list is empty. (Equivalent DDC */
75 /* definition: ACE_ERR_UNRES_ASYNC_ID) -511 */
76 NAIBRD_1553_RC_ASYNCHRONOUS_MESSAGE_ERROR = -571, /* Error with asynchronous message (e.g., maximum possible */
77 /* such messages already defined, not a suitable dual message, */
78 /* Tx failed). (Equivalent DDC definition: */
79 /* ACE_ERR_ASYNC_MSG) -513 */
80 NAIBRD_1553_RC_MESSAGE_ERROR = -572, /* Message error (e.g., message Tx not completed yet) -514 */
81 NAIBRD_1553_RC_ASYNCHRONOUS_SUBROUTINE_BUSY = -573, /* Cannot access an asynchronous message Tx subroutine while */
82 /* accessed by the device. -515 */
83 NAIBRD_1553_RC_NO_FRAME_TIME_SET_FOR_MAJOR_FRAME = -574, /* Frame time was not specified for currently running major */
84 /* frame. -516 */
85 NAIBRD_1553_RC_WRITE_ERROR = -580, /* Error writing to device. (Equivalent DDC definition: */
86 /* ACE_IOWRITE_ERR) -801 */
87 NAIBRD_1553_RC_INVALID_MESSAGE_TYPE = -584, /* The raw representation of the message couldn't be */
88 /* analyzed. -1000 */
89 NAIBRD_1553_RC_INVALID_RT_ADDRESS = -585, /* Invalid RT address. -1001 */
90 NAIBRD_1553_RC_INVALID_DIRECTION_BIT = -586, /* Invalid Rx/Tx selector. -1002 */
91 NAIBRD_1553_RC_INVALID_SUBADDRESS_OR_MODE_SELECTOR = -587, /* Invalid subaddress/mode selector. -1003 */
92 NAIBRD_1553_RC_INVALID_WORD_COUNT_OR_MODE_CODE = -588, /* Invalid word-count/mode-code. -1004 */
93 NAIBRD_1553_RC_INVALID_MESSAGE_OPTIONS = -589, /* Invalid message options. -1005 */
94 NAIBRD_1553_RC_FRAME_NESTING_STACK_OVERFLOW = -590, /* The maximum number of frame IDs in the nesting stack has */
95 /* been exceeded (see the documentation for function */
96 /* nai1553Bc_Start). -1006 */
97 NAIBRD_1553_RC_NESTED_MAJOR_FRAME = -591, /* Same/another major frame is nested within the major frame */
98 /* whose execution is requested. -1007 */
99 NAIBRD_1553_RC_FRAME_NESTING_RECURSION = -592, /* A minor frame is nested within itself. -1008 */
100 NAIBRD_1553_RC_TEST_FAIL = -594, /* Test failed (though the test function succeeded in */
101 /* performing all its actions). -1010 */
102 NAIBRD_1553_RC_LIMITED_DEVICE = -595, /* Unsupported by an evaluation device, which is only capable */
103 /* of limited operation. -1011 */
104
119{
120 NAIBRD_1553_RC_READ_GPQ_ENTRY_NO_NEW_ONES = 0, /* Found no new entry in the general purpose queue */
121 NAIBRD_1553_RC_READ_GPQ_ENTRY_READ_NEW_ENTRY = 1, /* Found a single new entry in the general purpose queue */
122 NAIBRD_1553_RC_READ_GPQ_ENTRY_READ_NEW_ENTRY_AND_DETECTED_OVERRUN = 2 /* Found several new entries in the general purpose queue, */
naibrd_1553_1760_status
Definition naibrd_1553_1760_status.h:2
@ NAIBRD_1553_CMD_INCORRECT_POSTAMBLE
Definition naibrd_1553_1760_status.h:108
@ NAIBRD_1553_RC_UNKNOWN_ERROR
Definition naibrd_1553_1760_status.h:8
@ NAIBRD_1553_RC_UNDEFINED_DATA_BLOCK
Definition naibrd_1553_1760_status.h:60
@ NAIBRD_1553_RC_WRITE_ERROR
Definition naibrd_1553_1760_status.h:85
@ NAIBRD_1553_RC_ASYNCHRONOUS_MESSAGE_ERROR
Definition naibrd_1553_1760_status.h:76
@ NAIBRD_1553_RC_INVALID_MESSAGE_OPTIONS
Definition naibrd_1553_1760_status.h:93
@ NAIBRD_1553_RC_MT_INVALID_DATA_STACK_SIZE
Definition naibrd_1553_1760_status.h:44
@ NAIBRD_1553_RC_MESSAGE_ERROR
Definition naibrd_1553_1760_status.h:80
@ NAIBRD_1553_RC_UNDEFINED_NODE
Definition naibrd_1553_1760_status.h:36
@ NAIBRD_1553_RC_RT_HOST_BUFFER_NOT_INSTALLED
Definition naibrd_1553_1760_status.h:54
@ NAIBRD_1553_RC_SUITABLE_ASYNCHRONOUS_MODE_UNDEFINED
Definition naibrd_1553_1760_status.h:72
@ NAIBRD_1553_RC_INVALID_DIRECTION_BIT
Definition naibrd_1553_1760_status.h:90
@ NAIBRD_1553_RC_MT_INVALID_STACK_OPTION
Definition naibrd_1553_1760_status.h:40
@ NAIBRD_1553_RC_FRAME_NESTING_STACK_OVERFLOW
Definition naibrd_1553_1760_status.h:94
@ NAIBRD_1553_RC_OPERATION_FAIL
Definition naibrd_1553_1760_status.h:34
@ NAIBRD_1553_RC_INVALID_RT_ADDRESS
Definition naibrd_1553_1760_status.h:89
@ NAIBRD_1553_RC_LIMITED_DEVICE
Definition naibrd_1553_1760_status.h:102
@ NAIBRD_1553_RC_BC_OBJECT_ALREADY_EXISTS
Definition naibrd_1553_1760_status.h:56
@ NAIBRD_1553_RC_INVALID_DEVICE_NUMBER
Definition naibrd_1553_1760_status.h:10
@ NAIBRD_1553_RC_RT_DATA_BLOCK_EXISTS
Definition naibrd_1553_1760_status.h:50
@ NAIBRD_1553_RC_INVALID_PARAMETER
Definition naibrd_1553_1760_status.h:26
@ NAIBRD_1553_RC_SUCCESS
Definition naibrd_1553_1760_status.h:6
@ NAIBRD_1553_CMD_INCORRECT_MESSAGE_SIZE
Definition naibrd_1553_1760_status.h:110
@ NAIBRD_1553_RC_INVALID_ACCESS
Definition naibrd_1553_1760_status.h:12
@ NAIBRD_1553_RC_MT_INVALID_HOST_BUFFER_SIZE
Definition naibrd_1553_1760_status.h:48
@ NAIBRD_1553_CMD_INCORRECT_COMMAND_CODE
Definition naibrd_1553_1760_status.h:107
@ NAIBRD_1553_RC_UNRESOLVED_JUMP
Definition naibrd_1553_1760_status.h:68
@ NAIBRD_1553_RC_TEST_FAIL
Definition naibrd_1553_1760_status.h:100
@ NAIBRD_1553_CMD_INCORRECT_WORDCOUNT
Definition naibrd_1553_1760_status.h:111
@ NAIBRD_1553_RC_NOT_MAJOR_FRAME
Definition naibrd_1553_1760_status.h:70
@ NAIBRD_1553_RC_INVALID_MESSAGE_TYPE
Definition naibrd_1553_1760_status.h:87
@ NAIBRD_1553_RC_MT_INVALID_STACK_SELECTOR
Definition naibrd_1553_1760_status.h:46
@ NAIBRD_1553_RC_ILLEGAL_FRAME
Definition naibrd_1553_1760_status.h:64
@ NAIBRD_1553_RC_ALLOCATION_FAIL
Definition naibrd_1553_1760_status.h:38
@ NAIBRD_1553_RC_INVALID_SUBADDRESS_OR_MODE_SELECTOR
Definition naibrd_1553_1760_status.h:91
@ NAIBRD_1553_RC_INVALID_BUFFER
Definition naibrd_1553_1760_status.h:20
@ NAIBRD_1553_RC_ASYNCHRONOUS_LIST_IS_EMPTY
Definition naibrd_1553_1760_status.h:74
@ NAIBRD_1553_RC_UNDEFINED_COMMAND
Definition naibrd_1553_1760_status.h:66
@ NAIBRD_1553_CMD_INCORRECT_SEQUENCE_NUMBER
Definition naibrd_1553_1760_status.h:106
@ NAIBRD_1553_RC_UNDEFINED_MESSAGE_BLOCK
Definition naibrd_1553_1760_status.h:62
@ NAIBRD_1553_RC_ASYNCHRONOUS_SUBROUTINE_BUSY
Definition naibrd_1553_1760_status.h:81
@ NAIBRD_1553_CMD_INCORRECT_MESSAGE_TYPE
Definition naibrd_1553_1760_status.h:109
@ NAIBRD_1553_RC_NESTED_MAJOR_FRAME
Definition naibrd_1553_1760_status.h:97
@ NAIBRD_1553_RC_BC_INVALID_DATA_BLOCK_SIZE
Definition naibrd_1553_1760_status.h:58
@ NAIBRD_1553_RC_INVALID_CLOCK_FREQUENCY
Definition naibrd_1553_1760_status.h:24
@ NAIBRD_1553_RC_INVALID_TIME_TAG_RESOLUTION
Definition naibrd_1553_1760_status.h:22
@ NAIBRD_1553_RC_INVALID_ADDRESS
Definition naibrd_1553_1760_status.h:18
@ NAIBRD_1553_CMD_INCORRECT_PREAMBLE
Definition naibrd_1553_1760_status.h:105
@ NAIBRD_1553_RC_RT_DATA_BLOCK_MAPPED
Definition naibrd_1553_1760_status.h:52
@ NAIBRD_1553_RC_MT_INVALID_COMMAND_STACK_SIZE
Definition naibrd_1553_1760_status.h:42
@ NAIBRD_1553_RC_INVALID_MODE
Definition naibrd_1553_1760_status.h:14
@ NAIBRD_1553_RC_NOT_SUPPORTED
Definition naibrd_1553_1760_status.h:32
@ NAIBRD_1553_RC_FRAME_NESTING_RECURSION
Definition naibrd_1553_1760_status.h:99
@ NAIBRD_1553_RC_OPERATIONAL_STATISTICS_NOT_ENABLED
Definition naibrd_1553_1760_status.h:30
@ NAIBRD_1553_RC_INVALID_MODE_OPTIONS
Definition naibrd_1553_1760_status.h:28
@ NAIBRD_1553_CMD_NO_MSG_TO_DECODE
Definition naibrd_1553_1760_status.h:112
@ NAIBRD_1553_RC_INVALID_STATE
Definition naibrd_1553_1760_status.h:16
@ NAIBRD_1553_RC_NO_FRAME_TIME_SET_FOR_MAJOR_FRAME
Definition naibrd_1553_1760_status.h:83
@ NAIBRD_1553_RC_INVALID_WORD_COUNT_OR_MODE_CODE
Definition naibrd_1553_1760_status.h:92
naibrd_1553_1760_general_purpose_queue
Definition naibrd_1553_1760_status.h:119
@ NAIBRD_1553_RC_READ_GPQ_ENTRY_NO_NEW_ONES
Definition naibrd_1553_1760_status.h:120
@ NAIBRD_1553_RC_READ_GPQ_ENTRY_READ_NEW_ENTRY
Definition naibrd_1553_1760_status.h:121
@ NAIBRD_1553_RC_READ_GPQ_ENTRY_READ_NEW_ENTRY_AND_DETECTED_OVERRUN
Definition naibrd_1553_1760_status.h:122