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

MembersDescription
TCPIP_MAC_RES_OK = 0Operation successful.
TCPIP_MAC_RES_PENDING = 1Operation is pending upon some hardware resource. Call again to completion.
TCPIP_MAC_RES_TYPE_ERR = -1Unsupported type.
TCPIP_MAC_RES_IS_BUSY = -2Device is in use.
TCPIP_MAC_RES_INIT_FAIL = -3Generic initialization failure.
TCPIP_MAC_RES_PHY_INIT_FAIL = -4PHY initialization failure.
TCPIP_MAC_RES_EVENT_INIT_FAIL = -5Event system initialization failure.
TCPIP_MAC_RES_OP_ERR = -6Unsupported operation.
TCPIP_MAC_RES_ALLOC_ERR = -7Memory allocation error.
TCPIP_MAC_RES_INSTANCE_ERR = -8Already instantiated, initialized error.
TCPIP_MAC_RES_FRAGMENT_ERR = -9Too fragmented, RX buffer too small.
TCPIP_MAC_RES_PACKET_ERR = -10Unsupported/corrupted packet error.
TCPIP_MAC_RES_QUEUE_TX_FULL = -11TX queue exceeded the limit.
TCPIP_MAC_RES_SYNCH_LOCK_FAIL = -12Synchronization object lock failed. Could not get a lock.
TCPIP_MAC_RES_NOT_READY_ERR = -13MAC is not ready for the operation.

Remarks

Benign operation results - always have positive values. Error codes - always have negative values.