These EMAC macros are reservations for EMAC.h
#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