1.2.5.2.47 TCPIP_MAC_RES Enumeration
C
typedef enum {
TCPIP_MAC_RES_OK = 0,
TCPIP_MAC_RES_PENDING = 1,
TCPIP_MAC_RES_TYPE_ERR = -1,
TCPIP_MAC_RES_IS_BUSY = -2,
TCPIP_MAC_RES_INIT_FAIL = -3,
TCPIP_MAC_RES_PHY_INIT_FAIL = -4,
TCPIP_MAC_RES_EVENT_INIT_FAIL = -5,
TCPIP_MAC_RES_OP_ERR = -6,
TCPIP_MAC_RES_ALLOC_ERR = -7,
TCPIP_MAC_RES_INSTANCE_ERR = -8,
TCPIP_MAC_RES_FRAGMENT_ERR = -9,
TCPIP_MAC_RES_PACKET_ERR = -10,
TCPIP_MAC_RES_QUEUE_TX_FULL = -11,
TCPIP_MAC_RES_SYNCH_LOCK_FAIL = -12,
TCPIP_MAC_RES_NOT_READY_ERR = -13
} TCPIP_MAC_RES;
Description
MAC Result Enumeration.
This is the list of codes that the MAC uses to specify the outcome of a MAC function.
Members
Members | Description |
---|---|
TCPIP_MAC_RES_OK = 0 | Operation successful. |
TCPIP_MAC_RES_PENDING = 1 | Operation is pending upon some hardware resource. Call again to completion. |
TCPIP_MAC_RES_TYPE_ERR = -1 | Unsupported type. |
TCPIP_MAC_RES_IS_BUSY = -2 | Device is in use. |
TCPIP_MAC_RES_INIT_FAIL = -3 | Generic initialization failure. |
TCPIP_MAC_RES_PHY_INIT_FAIL = -4 | PHY initialization failure. |
TCPIP_MAC_RES_EVENT_INIT_FAIL = -5 | Event system initialization failure. |
TCPIP_MAC_RES_OP_ERR = -6 | Unsupported operation. |
TCPIP_MAC_RES_ALLOC_ERR = -7 | Memory allocation error. |
TCPIP_MAC_RES_INSTANCE_ERR = -8 | Already instantiated, initialized error. |
TCPIP_MAC_RES_FRAGMENT_ERR = -9 | Too fragmented, RX buffer too small. |
TCPIP_MAC_RES_PACKET_ERR = -10 | Unsupported/corrupted packet error. |
TCPIP_MAC_RES_QUEUE_TX_FULL = -11 | TX queue exceeded the limit. |
TCPIP_MAC_RES_SYNCH_LOCK_FAIL = -12 | Synchronization object lock failed. Could not get a lock. |
TCPIP_MAC_RES_NOT_READY_ERR = -13 | MAC is not ready for the operation. |
Remarks
Benign operation results - always have positive values. Error codes - always have negative values.