# _EMAC_Status Struct Reference
[EMAC Data Structures]

EMAC_Status. More...

`#include <csl_emac.h>`

## Data Fields

Uint32 | MdioLinkStatus
Uint32 | PhyDev
Uint32 | RxPktHeld
Uint32 | TxPktHeld
Uint32 | FatalError

## Detailed Description

EMAC_Status.

The status structure contains information about the MAC's run-time status.

The following is a short description of the configuration fields:

MdioLinkStatus - Current link stat (non-zero on link; see CSL_MDIO.H)

PhyDev - Current PHY device in use (0-31)

RxPktHeld - Current number of Rx packets held by the EMAC device

TxPktHeld - Current number of Tx packets held by the EMAC device

FatalError - Fatal Error Code (TBD)

## Field Documentation

Uint32 _EMAC_Status::FatalError

Fatal Error when non-zero

Uint32 _EMAC_Status::MdioLinkStatus

CSL_MDIO Link status (see csl_mdio.h)

Uint32 _EMAC_Status::PhyDev

Current PHY device in use (0-31)

Uint32 _EMAC_Status::RxPktHeld

Number of packets held for Rx

Uint32 _EMAC_Status::TxPktHeld

Number of packets held for Tx

The documentation for this struct was generated from the following file:

- csl_emac.h

Copyright 2012, Texas Instruments Incorporated