![]() |
PDK API Guide for J721E
|
CPSW MAC port object.
Data Fields | |
| EnetMod_Obj | enetMod |
| Enet_MacPort | macPort |
| Enet_Type | enetType |
| uint32_t | instId |
| bool | enabled |
| EnetMacPort_LinkCfg | linkCfg |
| EnetMod_Obj CpswMacPort_Obj::enetMod |
EnetMod must be the first member
| Enet_MacPort CpswMacPort_Obj::macPort |
MAC port number
| Enet_Type CpswMacPort_Obj::enetType |
Ethernet peripheral type. Required to query SoC parameters (clock freq)
| uint32_t CpswMacPort_Obj::instId |
Peripheral instance number. Required to query SoC parameters (clock freq)
| bool CpswMacPort_Obj::enabled |
Whether MAC port is enabled (i.e. PHY is linked)
| EnetMacPort_LinkCfg CpswMacPort_Obj::linkCfg |
Current speed and duplexity. Valid when 'enabled' field is true