5.15. NXP ENETC4 - emllFslEnetc
The parameters to the Real-time Ethernet Driver NXP ENETC4 (NETC, i.MX95) are setup-specific. The function CreateLinkParmsFromCmdLineFslEnetc() in EcSelectLinkLayer.cpp demonstrates how to initialize the Real-time Ethernet Driver instance.
-
struct EC_T_LINK_PARMS_FSLENETC
Public Members
-
EC_T_LINK_PARMS linkParms
Common link parameters. Signature must be set to EC_LINK_PARMS_SIGNATURE_FSLENETC. dwInstance selects the ENETC PF (1 = first ENETC port).
-
EC_T_FSLENETC_TYPE eFslEnetcType
System on Chip type
-
EC_T_DWORD dwPhyAddr
PHY address on the central NETC EMDIO bus
-
EC_T_PHYINTERFACE ePhyInterface
PHY connection type
-
EC_T_BOOL bNotUseDmaBuffers
EC_FALSE: Use buffers from DMA for receive (default), EC_TRUE: use buffers from heap for receive. EcLinkAllocSendFrame is not supported if bNotUseDmaBuffers = EC_TRUE.
-
EC_T_DWORD dwTxDmaDesCnt
Transmit DMA descriptor buffer count. Must be a multiple of 8, maximum 256
-
EC_T_DWORD dwRxDmaDesCnt
Receive DMA descriptor buffer count. Must be a multiple of 8, maximum 256
-
EC_T_BOOL bNoPhyAccess
Don’t use MDIO to set up the PHY, link is always reported as up
-
EC_T_LINK_PARMS linkParms