AM64x MCU+ SDK  10.00.00

Introduction

The MDIO module implements the MDIO-generic IOCTL commands defined in ENET_MOD_MDIO API set.

MDIO clocks:

Interrupts:

Features:

Compile-time configuration:

Data Structures

struct  Mdio_Cfg
 MDIO module configuration. More...
 

Functions

void Mdio_initCfg (Mdio_Cfg *mdioCfg)
 Initialize MDIO configuration parameters. More...
 

Enumerations

enum  Mdio_OpMode { MDIO_MODE_NORMAL = 0U, MDIO_MODE_STATE_CHANGE_MON, MDIO_MODE_MANUAL }
 MDIO operating mode. More...
 

Macros

#define MDIO_MAX_PHY_CNT   (31U)
 Maximum number of PHYs supported on MDIO bus. More...
 

Macro Definition Documentation

◆ MDIO_MAX_PHY_CNT

#define MDIO_MAX_PHY_CNT   (31U)

Maximum number of PHYs supported on MDIO bus.

Enumeration Type Documentation

◆ Mdio_OpMode

MDIO operating mode.

Enumerator
MDIO_MODE_NORMAL 

Normal mode

MDIO_MODE_STATE_CHANGE_MON 

State change monitor mode

MDIO_MODE_MANUAL 

Manual mode (slow GPIO, not used for MDIO PHY operations. Used only during MDIO pins software bit banging)

Function Documentation

◆ Mdio_initCfg()

void Mdio_initCfg ( Mdio_Cfg mdioCfg)

Initialize MDIO configuration parameters.

Parameters
mdioCfgConfiguration parameters to be initialized