TI-RTOS Drivers  tidrivers_full_2_20_00_08
Modules | Macros
EMAC_control command and status codes
Collaboration diagram for EMAC_control command and status codes:

Modules

 Status Codes
 
 Command Codes
 

Macros

#define EMAC_CMD_RESERVED   32
 
#define EMAC_STATUS_RESERVED   -32
 

Detailed Description

These EMAC macros are reservations for EMAC.h

Macro Definition Documentation

#define EMAC_CMD_RESERVED   32

Common EMAC_control command code reservation offset. EMAC driver implementations should offset command codes with EMAC_CMD_RESERVED growing positively

Example implementation specific command codes:

1 #define EMACXYZ_CMD_COMMAND0 EMAC_CMD_RESERVED + 0
2 #define EMACXYZ_CMD_COMMAND1 EMAC_CMD_RESERVED + 1
#define EMAC_STATUS_RESERVED   -32

Common EMAC_control status code reservation offset. EMAC driver implementations should offset status codes with EMAC_STATUS_RESERVED growing negatively.

Example implementation specific status codes:

1 #define EMACXYZ_STATUS_ERROR0 EMAC_STATUS_RESERVED - 0
2 #define EMACXYZ_STATUS_ERROR1 EMAC_STATUS_RESERVED - 1
3 #define EMACXYZ_STATUS_ERROR2 EMAC_STATUS_RESERVED - 2
Copyright 2016, Texas Instruments Incorporated