Data Fields
CpswMdio_Config_s Struct Reference

MDIO module configuration. More...

#include <cpsw_mdio.h>

Data Fields

CpswMdio_OperatingMode mode
 
uint32_t mdioBusFreqHz
 
uint32_t phyStatePollFreqHz
 
uint32_t pollEnableMask
 
uint32_t clause45EnableMask
 
CpswMdio_UserChannel userCh
 

Detailed Description

MDIO module configuration.

Configuration parameters for the MDIO module.

Field Documentation

uint32_t CpswMdio_Config_s::clause45EnableMask

Indicates which PHY addresses will use Clause-45 frame format. The CPSW_MDIO_PHY_ADDR_MASK macro should be used to create the mask

uint32_t CpswMdio_Config_s::mdioBusFreqHz

MDIO bus clock (MDCLK) frequency in Hz

CpswMdio_OperatingMode CpswMdio_Config_s::mode

MDIO module operating mode

uint32_t CpswMdio_Config_s::phyStatePollFreqHz

Polling inter packet gap frequency in Hz

uint32_t CpswMdio_Config_s::pollEnableMask

Indicates which PHY addresses have polling enabled. The CPSW_MDIO_PHY_ADDR_MASK macro should be used to create the mask. Only two PHYs can be monitored in Normal Mode, so only two bits must be set if operating in that mode.

CpswMdio_UserChannel CpswMdio_Config_s::userCh

User channel to use for MDIO PHY register access


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

Copyright 2020, Texas Instruments Incorporated