Dependents:
mbed-os-nfc05a1
« Back to documentation index
st_errno.h File Reference
Main error codes.
More...
Go to the source code of this file.
Typedefs
typedef uint16_t ReturnCode
Enumerations
enum {
ERR_NONE = 0,
ERR_NOMEM = 1,
ERR_BUSY = 2,
ERR_IO = 3,
ERR_TIMEOUT = 4,
ERR_REQUEST = 5,
ERR_NOMSG = 6,
ERR_PARAM = 7,
ERR_SYSTEM = 8,
ERR_FRAMING = 9,
ERR_OVERRUN = 10,
ERR_PROTO = 11,
ERR_INTERNAL = 12,
ERR_AGAIN = 13,
ERR_MEM_CORRUPT = 14,
ERR_NOT_IMPLEMENTED = 15,
ERR_PC_CORRUPT = 16,
ERR_SEND = 17,
ERR_IGNORE = 18,
ERR_SEMANTIC = 19,
ERR_SYNTAX = 20,
ERR_CRC = 21,
ERR_NOTFOUND = 22,
ERR_NOTUNIQUE = 23,
ERR_NOTSUPP = 24,
ERR_WRITE = 25,
ERR_FIFO = 26,
ERR_PAR = 27,
ERR_DONE = 28,
ERR_RF_COLLISION = 29,
ERR_HW_OVERRUN = 30,
ERR_RELEASE_REQ = 31,
ERR_SLEEP_REQ = 32,
ERR_WRONG_STATE = 33,
ERR_MAX_RERUNS = 34,
ERR_DISABLED = 35,
ERR_HW_MISMATCH = 36,
ERR_LINK_LOSS = 37,
ERR_INVALID_HANDLE = 38,
ERR_INCOMPLETE_BYTE = 40,
ERR_INCOMPLETE_BYTE_01 = 41,
ERR_INCOMPLETE_BYTE_02 = 42,
ERR_INCOMPLETE_BYTE_03 = 43,
ERR_INCOMPLETE_BYTE_04 = 44,
ERR_INCOMPLETE_BYTE_05 = 45,
ERR_INCOMPLETE_BYTE_06 = 46,
ERR_INCOMPLETE_BYTE_07 = 47
}
Detailed Description
Main error codes.
Author:
Definition in file st_errno.h .
Typedef Documentation
Standard Return Code type from function.
Definition at line 54 of file st_errno.h .
Enumeration Type Documentation
Enumerator:
ERR_NONE
no error occurred
ERR_NOMEM
not enough memory to perform the requested operation
ERR_BUSY
device or resource busy
ERR_IO
generic IO error
ERR_TIMEOUT
error due to timeout
ERR_REQUEST
invalid request or requested function can't be executed at the moment
ERR_NOMSG
No message of desired type
ERR_PARAM
Parameter error
ERR_SYSTEM
System error
ERR_FRAMING
Framing error
ERR_OVERRUN
lost one or more received bytes
ERR_PROTO
protocol error
ERR_INTERNAL
Internal Error
ERR_AGAIN
Call again
ERR_MEM_CORRUPT
memory corruption
ERR_NOT_IMPLEMENTED
not implemented
ERR_PC_CORRUPT
Program Counter has been manipulated or spike/noise trigger illegal operation
ERR_SEND
error sending
ERR_IGNORE
indicates error detected but to be ignored
ERR_SEMANTIC
indicates error in state machine (unexpected cmd)
ERR_SYNTAX
indicates error in state machine (unknown cmd)
ERR_CRC
crc error
ERR_NOTFOUND
transponder not found
ERR_NOTUNIQUE
transponder not unique - more than one transponder in field
ERR_NOTSUPP
requested operation not supported
ERR_WRITE
write error
ERR_FIFO
fifo over or underflow error
ERR_PAR
parity error
ERR_DONE
transfer has already finished
ERR_RF_COLLISION
collision error (Bit Collision or during RF Collision avoidance )
ERR_HW_OVERRUN
lost one or more received bytes
ERR_RELEASE_REQ
device requested release
ERR_SLEEP_REQ
device requested sleep
ERR_WRONG_STATE
incorrent state for requested operation
ERR_MAX_RERUNS
blocking procedure reached maximum runs
ERR_DISABLED
operation aborted due to disabled configuration
ERR_HW_MISMATCH
expected hw do not match
ERR_LINK_LOSS
Other device's field didn't behave as expected: turned off by Initiator in Passive mode, or AP2P did not turn on field
ERR_INVALID_HANDLE
invalid or not initalized device handle
ERR_INCOMPLETE_BYTE
Incomplete byte rcvd
ERR_INCOMPLETE_BYTE_01
Incomplete byte rcvd - 1 bit
ERR_INCOMPLETE_BYTE_02
Incomplete byte rcvd - 2 bit
ERR_INCOMPLETE_BYTE_03
Incomplete byte rcvd - 3 bit
ERR_INCOMPLETE_BYTE_04
Incomplete byte rcvd - 4 bit
ERR_INCOMPLETE_BYTE_05
Incomplete byte rcvd - 5 bit
ERR_INCOMPLETE_BYTE_06
Incomplete byte rcvd - 6 bit
ERR_INCOMPLETE_BYTE_07
Incomplete byte rcvd - 7 bit
Definition at line 67 of file st_errno.h .