# _EMAC_Device Struct Reference
[EMAC Data Structures]

EMAC Main Device Instance Structure. More...

`#include <csl_emac.h>`

## Data Fields

CSL_EmacRegs * | emacRegs
CSL_EctlRegs * | ectlRegs
CSL_InstNum | perNum
Uint32 | DevMagic
MDIO_Device | MdioDev
Uint32 | RxFilter
Uint32 | PktMTU
Uint32 | MacHash1
Uint32 | MacHash2
Uint32 | FatalError
EMAC_Common_Config | Config
EMAC_Core_Config | CoreConfig [CSL_EMAC_NUMCORES]
EMAC_Statistics | Stats
Uint8 | InitOnce
Uint8 | MacIndexUsed [CSL_EMAC_NUMMACADDRS]
EMAC_Core * | pEMACCore [CSL_EMAC_NUMCORES]

## Detailed Description

EMAC Main Device Instance Structure.

## Field Documentation

EMAC_Common_Config _EMAC_Device::Config

Original User Configuration common to all cores

EMAC_Core_Config _EMAC_Device::CoreConfig[CSL_EMAC_NUMCORES]

Original User Configuration specific to individaul cores

Uint32 _EMAC_Device::DevMagic

Magic ID for this instance

CSL_EctlRegs* _EMAC_Device::ectlRegs

Pointer to the register overlay structure of the ECTL

CSL_EmacRegs* _EMAC_Device::emacRegs

Pointer to the register overlay structure of the EMAC

Uint32 _EMAC_Device::FatalError

Fatal Error Code

Uint8 _EMAC_Device::InitOnce

EMAC common configuration has been initialized once

Uint32 _EMAC_Device::MacHash1

Hash value cache

Uint32 _EMAC_Device::MacHash2

Hash value cache

Uint8 _EMAC_Device::MacIndexUsed[CSL_EMAC_NUMMACADDRS]

Store core ID which is using each mac index

MDIO_Device _EMAC_Device::MdioDev

MDIO device structure

EMAC_Core* _EMAC_Device::pEMACCore[CSL_EMAC_NUMCORES]

Array of pointers to EMAC Core Instance for individual cores

CSL_InstNum _EMAC_Device::perNum

Instance of EMAC being referred by this object

Uint32 _EMAC_Device::PktMTU

Max physical packet size

Uint32 _EMAC_Device::RxFilter

Current RX filter value

EMAC_Statistics _EMAC_Device::Stats

Current running statistics

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

- csl_emac.h

Copyright 2012, Texas Instruments Incorporated