Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
IEEE 802.3 management interface

Definitions for IEEE 802.3 management interface. More...

Macros

#define MDIO_MMD_PMAPMD   0x01U
 Physical Medium Attachment / Physical Medium Dependent.
 
#define MDIO_MMD_WIS   0x02U
 WAN Interface Sublayer.
 
#define MDIO_MMD_PCS   0x03U
 Physical Coding Sublayer.
 
#define MDIO_MMD_PHYXS   0x04U
 PHY Extender Sublayer.
 
#define MDIO_MMD_DTEXS   0x05U
 DTE Extender Sublayer.
 
#define MDIO_MMD_TC   0x06U
 Transmission Convergence.
 
#define MDIO_MMD_AN   0x07U
 Auto-negotiation.
 
#define MDIO_MMD_SEPARATED_PMA1   0x08U
 Separated PMA (1)
 
#define MDIO_MMD_SEPARATED_PMA2   0x09U
 Separated PMA (2)
 
#define MDIO_MMD_SEPARATED_PMA3   0x0AU
 Separated PMA (3)
 
#define MDIO_MMD_SEPARATED_PMA4   0x0BU
 Separated PMA (4)
 
#define MDIO_MMD_C22EXT   0x1DU
 Clause 22 extension.
 
#define MDIO_MMD_VENDOR_SPECIFIC1   0x1EU
 Vendor Specific 1.
 
#define MDIO_MMD_VENDOR_SPECIFIC2   0x1FU
 Vendor Specific 2.
 
#define MDIO_CTRL1   0x0000U
 Control 1.
 
#define MDIO_STAT1   0x0001U
 Status 1.
 
#define MDIO_DEVID1   0x0002U
 Device identifier (1)
 
#define MDIO_DEVID2   0x0003U
 Device identifier (2)
 
#define MDIO_SPEED   0x0004U
 Speed ability.
 
#define MDIO_DEVS1   0x0005U
 Devices in package (1)
 
#define MDIO_DEVS2   0x0006U
 Devices in package (2)
 
#define MDIO_CTRL2   0x0007U
 Control 2.
 
#define MDIO_STAT2   0x0008U
 Status 2.
 
#define MDIO_PKGID1   0x000EU
 Package identifier (1)
 
#define MDIO_PKGID2   0x000FU
 Package identifier (2)
 
#define MDIO_AN_T1_CTRL   0x0200U
 BASE-T1 Auto-negotiation control.
 
#define MDIO_AN_T1_STAT   0x0201U
 BASE-T1 Auto-negotiation status.
 
#define MDIO_AN_T1_ADV_L   0x0202U
 BASE-T1 Auto-negotiation advertisement register [15:0].
 
#define MDIO_AN_T1_ADV_M   0x0203U
 BASE-T1 Auto-negotiation advertisement register [31:16].
 
#define MDIO_AN_T1_ADV_H   0x0204U
 BASE-T1 Auto-negotiation advertisement register [47:32].
 
#define MDIO_PMA_PMD_BT1_CTRL   0x0834U
 BASE-T1 PMA/PMD control register.
 
#define MDIO_AN_T1_CTRL_RESTART   BIT(9)
 Auto-negotiation Restart.
 
#define MDIO_AN_T1_CTRL_EN   BIT(12)
 Auto-negotiation Enable.
 
#define MDIO_AN_T1_STAT_LINK_STATUS   BIT(2)
 Link Status.
 
#define MDIO_AN_T1_STAT_ABLE   BIT(3)
 Auto-negotiation Ability.
 
#define MDIO_AN_T1_STAT_REMOTE_FAULT   BIT(4)
 Auto-negotiation Remote Fault.
 
#define MDIO_AN_T1_STAT_COMPLETE   BIT(5)
 Auto-negotiation Complete.
 
#define MDIO_AN_T1_STAT_PAGE_RX   BIT(6)
 Page Received.
 
#define MDIO_AN_T1_ADV_L_PAUSE_CAP   BIT(10)
 Pause Ability.
 
#define MDIO_AN_T1_ADV_L_PAUSE_ASYM   BIT(11)
 Pause Ability.
 
#define MDIO_AN_T1_ADV_L_FORCE_MS   BIT(12)
 Force Master/Slave Configuration.
 
#define MDIO_AN_T1_ADV_L_REMOTE_FAULT   BIT(13)
 Remote Fault.
 
#define MDIO_AN_T1_ADV_L_ACK   BIT(14)
 Acknowledge (ACK)
 
#define MDIO_AN_T1_ADV_L_NEXT_PAGE_REQ   BIT(15)
 Next Page Request.
 
#define MDIO_AN_T1_ADV_M_B10L   BIT(14)
 10BASE-T1L Ability
 
#define MDIO_AN_T1_ADV_M_MST   BIT(4)
 Master/slave Configuration.
 
#define MDIO_AN_T1_ADV_H_10L_TX_HI_REQ   BIT(12)
 10BASE-T1L High Level Transmit Operating Mode Request
 
#define MDIO_AN_T1_ADV_H_10L_TX_HI   BIT(13)
 10BASE-T1L High Level Transmit Operating Mode Ability
 
#define MDIO_PMA_PMD_BT1_CTRL_CFG_MST   BIT(14)
 BASE-T1 master/slave configuration.
 
#define MDIO_PMA_B10L_CTRL   0x08F6U
 10BASE-T1L PMA control
 
#define MDIO_PMA_B10L_STAT   0x08F7U
 10BASE-T1L PMA status
 
#define MDIO_PMA_B10L_LINK_STAT   0x8302U
 10BASE-T1L PMA link status
 
#define MDIO_PCS_B10L_CTRL   0x08E6U
 10BASE-T1L PCS control
 
#define MDIO_PCS_B10L_STAT   0x08E7U
 10BASE-T1L PCS status
 
#define MDIO_PMA_B10L_CTRL_TX_DIS_MODE_EN   BIT(14)
 10BASE-T1L Transmit Disable Mode
 
#define MDIO_PMA_B10L_CTRL_TX_LVL_HI   BIT(12)
 10BASE-T1L Transmit Voltage Amplitude Control
 
#define MDIO_PMA_B10L_CTRL_EEE   BIT(10)
 10BASE-T1L EEE Enable
 
#define MDIO_PMA_B10L_CTRL_LB_PMA_LOC_EN   BIT(0)
 10BASE-T1L PMA Loopback
 
#define MDIO_PMA_B10L_STAT_LINK   BIT(0)
 10BASE-T1L PMA receive link up
 
#define MDIO_PMA_B10L_STAT_FAULT   BIT(1)
 10BASE-T1L Fault condition detected
 
#define MDIO_PMA_B10L_STAT_POLARITY   BIT(2)
 10BASE-T1L Receive polarity is reversed
 
#define MDIO_PMA_B10L_STAT_RECV_FAULT   BIT(9)
 10BASE-T1L Able to detect fault on receive path
 
#define MDIO_PMA_B10L_STAT_EEE   BIT(10)
 10BASE-T1L PHY has EEE ability
 
#define MDIO_PMA_B10L_STAT_LOW_POWER   BIT(11)
 10BASE-T1L PMA has low-power ability
 
#define MDIO_PMA_B10L_STAT_2V4_ABLE   BIT(12)
 10BASE-T1L PHY has 2.4 Vpp operating mode ability
 
#define MDIO_PMA_B10L_STAT_LB_ABLE   BIT(13)
 10BASE-T1L PHY has loopback ability
 
#define MDIO_PMA_B10L_LINK_STAT_REM_RCVR_STAT_OK_LL   BIT(9)
 10BASE-T1L Remote Receiver Status OK Latch Low
 
#define MDIO_PMA_B10L_LINK_STAT_REM_RCVR_STAT_OK   BIT(8)
 10BASE-T1L Remote Receiver Status OK
 
#define MDIO_PMA_B10L_LINK_STAT_LOC_RCVR_STAT_OK_LL   BIT(7)
 10BASE-T1L Local Receiver Status OK
 
#define MDIO_PMA_B10L_LINK_STAT_LOC_RCVR_STAT_OK   BIT(6)
 10BASE-T1L Local Receiver Status OK
 
#define MDIO_PMA_B10L_LINK_STAT_DSCR_STAT_OK_LL   BIT(5)
 10BASE-T1L Descrambler Status OK Latch Low
 
#define MDIO_PMA_B10L_LINK_STAT_DSCR_STAT_OK   BIT(4)
 10BASE-T1L Descrambler Status OK
 
#define MDIO_PMA_B10L_LINK_STAT_LINK_STAT_OK_LL   BIT(1)
 10BASE-T1L Link Status OK Latch Low
 
#define MDIO_PMA_B10L_LINK_STAT_LINK_STAT_OK   BIT(0)
 10BASE-T1L Link Status OK
 
#define MDIO_PCS_B10L_CTRL_LB_PCS_EN   BIT(14)
 10BASE-T1L PCS Loopback Enable
 
#define MDIO_PCS_B10L_STAT_DSCR_STAT_OK_LL   BIT(2)
 10BASE-T1L PCS Descrambler Status
 

Enumerations

enum  mdio_opcode {
  MDIO_OP_C22_WRITE = 1 , MDIO_OP_C22_READ = 2 , MDIO_OP_C45_ADDRESS = 0 , MDIO_OP_C45_WRITE = 1 ,
  MDIO_OP_C45_READ_INC = 2 , MDIO_OP_C45_READ = 3
}
 MDIO transaction operation code. More...
 

Detailed Description

Definitions for IEEE 802.3 management interface.

Macro Definition Documentation

◆ MDIO_AN_T1_ADV_H

#define MDIO_AN_T1_ADV_H   0x0204U

#include <zephyr/net/mdio.h>

BASE-T1 Auto-negotiation advertisement register [47:32].

◆ MDIO_AN_T1_ADV_H_10L_TX_HI

#define MDIO_AN_T1_ADV_H_10L_TX_HI   BIT(13)

#include <zephyr/net/mdio.h>

10BASE-T1L High Level Transmit Operating Mode Ability

◆ MDIO_AN_T1_ADV_H_10L_TX_HI_REQ

#define MDIO_AN_T1_ADV_H_10L_TX_HI_REQ   BIT(12)

#include <zephyr/net/mdio.h>

10BASE-T1L High Level Transmit Operating Mode Request

◆ MDIO_AN_T1_ADV_L

#define MDIO_AN_T1_ADV_L   0x0202U

#include <zephyr/net/mdio.h>

BASE-T1 Auto-negotiation advertisement register [15:0].

◆ MDIO_AN_T1_ADV_L_ACK

#define MDIO_AN_T1_ADV_L_ACK   BIT(14)

#include <zephyr/net/mdio.h>

Acknowledge (ACK)

◆ MDIO_AN_T1_ADV_L_FORCE_MS

#define MDIO_AN_T1_ADV_L_FORCE_MS   BIT(12)

#include <zephyr/net/mdio.h>

Force Master/Slave Configuration.

◆ MDIO_AN_T1_ADV_L_NEXT_PAGE_REQ

#define MDIO_AN_T1_ADV_L_NEXT_PAGE_REQ   BIT(15)

#include <zephyr/net/mdio.h>

Next Page Request.

◆ MDIO_AN_T1_ADV_L_PAUSE_ASYM

#define MDIO_AN_T1_ADV_L_PAUSE_ASYM   BIT(11)

#include <zephyr/net/mdio.h>

Pause Ability.

◆ MDIO_AN_T1_ADV_L_PAUSE_CAP

#define MDIO_AN_T1_ADV_L_PAUSE_CAP   BIT(10)

#include <zephyr/net/mdio.h>

Pause Ability.

◆ MDIO_AN_T1_ADV_L_REMOTE_FAULT

#define MDIO_AN_T1_ADV_L_REMOTE_FAULT   BIT(13)

#include <zephyr/net/mdio.h>

Remote Fault.

◆ MDIO_AN_T1_ADV_M

#define MDIO_AN_T1_ADV_M   0x0203U

#include <zephyr/net/mdio.h>

BASE-T1 Auto-negotiation advertisement register [31:16].

◆ MDIO_AN_T1_ADV_M_B10L

#define MDIO_AN_T1_ADV_M_B10L   BIT(14)

#include <zephyr/net/mdio.h>

10BASE-T1L Ability

◆ MDIO_AN_T1_ADV_M_MST

#define MDIO_AN_T1_ADV_M_MST   BIT(4)

#include <zephyr/net/mdio.h>

Master/slave Configuration.

◆ MDIO_AN_T1_CTRL

#define MDIO_AN_T1_CTRL   0x0200U

#include <zephyr/net/mdio.h>

BASE-T1 Auto-negotiation control.

◆ MDIO_AN_T1_CTRL_EN

#define MDIO_AN_T1_CTRL_EN   BIT(12)

#include <zephyr/net/mdio.h>

Auto-negotiation Enable.

◆ MDIO_AN_T1_CTRL_RESTART

#define MDIO_AN_T1_CTRL_RESTART   BIT(9)

#include <zephyr/net/mdio.h>

Auto-negotiation Restart.

◆ MDIO_AN_T1_STAT

#define MDIO_AN_T1_STAT   0x0201U

#include <zephyr/net/mdio.h>

BASE-T1 Auto-negotiation status.

◆ MDIO_AN_T1_STAT_ABLE

#define MDIO_AN_T1_STAT_ABLE   BIT(3)

#include <zephyr/net/mdio.h>

Auto-negotiation Ability.

◆ MDIO_AN_T1_STAT_COMPLETE

#define MDIO_AN_T1_STAT_COMPLETE   BIT(5)

#include <zephyr/net/mdio.h>

Auto-negotiation Complete.

◆ MDIO_AN_T1_STAT_LINK_STATUS

#define MDIO_AN_T1_STAT_LINK_STATUS   BIT(2)

#include <zephyr/net/mdio.h>

Link Status.

◆ MDIO_AN_T1_STAT_PAGE_RX

#define MDIO_AN_T1_STAT_PAGE_RX   BIT(6)

#include <zephyr/net/mdio.h>

Page Received.

◆ MDIO_AN_T1_STAT_REMOTE_FAULT

#define MDIO_AN_T1_STAT_REMOTE_FAULT   BIT(4)

#include <zephyr/net/mdio.h>

Auto-negotiation Remote Fault.

◆ MDIO_CTRL1

#define MDIO_CTRL1   0x0000U

#include <zephyr/net/mdio.h>

Control 1.

◆ MDIO_CTRL2

#define MDIO_CTRL2   0x0007U

#include <zephyr/net/mdio.h>

Control 2.

◆ MDIO_DEVID1

#define MDIO_DEVID1   0x0002U

#include <zephyr/net/mdio.h>

Device identifier (1)

◆ MDIO_DEVID2

#define MDIO_DEVID2   0x0003U

#include <zephyr/net/mdio.h>

Device identifier (2)

◆ MDIO_DEVS1

#define MDIO_DEVS1   0x0005U

#include <zephyr/net/mdio.h>

Devices in package (1)

◆ MDIO_DEVS2

#define MDIO_DEVS2   0x0006U

#include <zephyr/net/mdio.h>

Devices in package (2)

◆ MDIO_MMD_AN

#define MDIO_MMD_AN   0x07U

#include <zephyr/net/mdio.h>

Auto-negotiation.

◆ MDIO_MMD_C22EXT

#define MDIO_MMD_C22EXT   0x1DU

#include <zephyr/net/mdio.h>

Clause 22 extension.

◆ MDIO_MMD_DTEXS

#define MDIO_MMD_DTEXS   0x05U

#include <zephyr/net/mdio.h>

DTE Extender Sublayer.

◆ MDIO_MMD_PCS

#define MDIO_MMD_PCS   0x03U

#include <zephyr/net/mdio.h>

Physical Coding Sublayer.

◆ MDIO_MMD_PHYXS

#define MDIO_MMD_PHYXS   0x04U

#include <zephyr/net/mdio.h>

PHY Extender Sublayer.

◆ MDIO_MMD_PMAPMD

#define MDIO_MMD_PMAPMD   0x01U

#include <zephyr/net/mdio.h>

Physical Medium Attachment / Physical Medium Dependent.

◆ MDIO_MMD_SEPARATED_PMA1

#define MDIO_MMD_SEPARATED_PMA1   0x08U

#include <zephyr/net/mdio.h>

Separated PMA (1)

◆ MDIO_MMD_SEPARATED_PMA2

#define MDIO_MMD_SEPARATED_PMA2   0x09U

#include <zephyr/net/mdio.h>

Separated PMA (2)

◆ MDIO_MMD_SEPARATED_PMA3

#define MDIO_MMD_SEPARATED_PMA3   0x0AU

#include <zephyr/net/mdio.h>

Separated PMA (3)

◆ MDIO_MMD_SEPARATED_PMA4

#define MDIO_MMD_SEPARATED_PMA4   0x0BU

#include <zephyr/net/mdio.h>

Separated PMA (4)

◆ MDIO_MMD_TC

#define MDIO_MMD_TC   0x06U

#include <zephyr/net/mdio.h>

Transmission Convergence.

◆ MDIO_MMD_VENDOR_SPECIFIC1

#define MDIO_MMD_VENDOR_SPECIFIC1   0x1EU

#include <zephyr/net/mdio.h>

Vendor Specific 1.

◆ MDIO_MMD_VENDOR_SPECIFIC2

#define MDIO_MMD_VENDOR_SPECIFIC2   0x1FU

#include <zephyr/net/mdio.h>

Vendor Specific 2.

◆ MDIO_MMD_WIS

#define MDIO_MMD_WIS   0x02U

#include <zephyr/net/mdio.h>

WAN Interface Sublayer.

◆ MDIO_PCS_B10L_CTRL

#define MDIO_PCS_B10L_CTRL   0x08E6U

#include <zephyr/net/mdio.h>

10BASE-T1L PCS control

◆ MDIO_PCS_B10L_CTRL_LB_PCS_EN

#define MDIO_PCS_B10L_CTRL_LB_PCS_EN   BIT(14)

#include <zephyr/net/mdio.h>

10BASE-T1L PCS Loopback Enable

◆ MDIO_PCS_B10L_STAT

#define MDIO_PCS_B10L_STAT   0x08E7U

#include <zephyr/net/mdio.h>

10BASE-T1L PCS status

◆ MDIO_PCS_B10L_STAT_DSCR_STAT_OK_LL

#define MDIO_PCS_B10L_STAT_DSCR_STAT_OK_LL   BIT(2)

#include <zephyr/net/mdio.h>

10BASE-T1L PCS Descrambler Status

◆ MDIO_PKGID1

#define MDIO_PKGID1   0x000EU

#include <zephyr/net/mdio.h>

Package identifier (1)

◆ MDIO_PKGID2

#define MDIO_PKGID2   0x000FU

#include <zephyr/net/mdio.h>

Package identifier (2)

◆ MDIO_PMA_B10L_CTRL

#define MDIO_PMA_B10L_CTRL   0x08F6U

#include <zephyr/net/mdio.h>

10BASE-T1L PMA control

◆ MDIO_PMA_B10L_CTRL_EEE

#define MDIO_PMA_B10L_CTRL_EEE   BIT(10)

#include <zephyr/net/mdio.h>

10BASE-T1L EEE Enable

◆ MDIO_PMA_B10L_CTRL_LB_PMA_LOC_EN

#define MDIO_PMA_B10L_CTRL_LB_PMA_LOC_EN   BIT(0)

#include <zephyr/net/mdio.h>

10BASE-T1L PMA Loopback

◆ MDIO_PMA_B10L_CTRL_TX_DIS_MODE_EN

#define MDIO_PMA_B10L_CTRL_TX_DIS_MODE_EN   BIT(14)

#include <zephyr/net/mdio.h>

10BASE-T1L Transmit Disable Mode

◆ MDIO_PMA_B10L_CTRL_TX_LVL_HI

#define MDIO_PMA_B10L_CTRL_TX_LVL_HI   BIT(12)

#include <zephyr/net/mdio.h>

10BASE-T1L Transmit Voltage Amplitude Control

◆ MDIO_PMA_B10L_LINK_STAT

#define MDIO_PMA_B10L_LINK_STAT   0x8302U

#include <zephyr/net/mdio.h>

10BASE-T1L PMA link status

◆ MDIO_PMA_B10L_LINK_STAT_DSCR_STAT_OK

#define MDIO_PMA_B10L_LINK_STAT_DSCR_STAT_OK   BIT(4)

#include <zephyr/net/mdio.h>

10BASE-T1L Descrambler Status OK

◆ MDIO_PMA_B10L_LINK_STAT_DSCR_STAT_OK_LL

#define MDIO_PMA_B10L_LINK_STAT_DSCR_STAT_OK_LL   BIT(5)

#include <zephyr/net/mdio.h>

10BASE-T1L Descrambler Status OK Latch Low

◆ MDIO_PMA_B10L_LINK_STAT_LINK_STAT_OK

#define MDIO_PMA_B10L_LINK_STAT_LINK_STAT_OK   BIT(0)

#include <zephyr/net/mdio.h>

10BASE-T1L Link Status OK

◆ MDIO_PMA_B10L_LINK_STAT_LINK_STAT_OK_LL

#define MDIO_PMA_B10L_LINK_STAT_LINK_STAT_OK_LL   BIT(1)

#include <zephyr/net/mdio.h>

10BASE-T1L Link Status OK Latch Low

◆ MDIO_PMA_B10L_LINK_STAT_LOC_RCVR_STAT_OK

#define MDIO_PMA_B10L_LINK_STAT_LOC_RCVR_STAT_OK   BIT(6)

#include <zephyr/net/mdio.h>

10BASE-T1L Local Receiver Status OK

◆ MDIO_PMA_B10L_LINK_STAT_LOC_RCVR_STAT_OK_LL

#define MDIO_PMA_B10L_LINK_STAT_LOC_RCVR_STAT_OK_LL   BIT(7)

#include <zephyr/net/mdio.h>

10BASE-T1L Local Receiver Status OK

◆ MDIO_PMA_B10L_LINK_STAT_REM_RCVR_STAT_OK

#define MDIO_PMA_B10L_LINK_STAT_REM_RCVR_STAT_OK   BIT(8)

#include <zephyr/net/mdio.h>

10BASE-T1L Remote Receiver Status OK

◆ MDIO_PMA_B10L_LINK_STAT_REM_RCVR_STAT_OK_LL

#define MDIO_PMA_B10L_LINK_STAT_REM_RCVR_STAT_OK_LL   BIT(9)

#include <zephyr/net/mdio.h>

10BASE-T1L Remote Receiver Status OK Latch Low

◆ MDIO_PMA_B10L_STAT

#define MDIO_PMA_B10L_STAT   0x08F7U

#include <zephyr/net/mdio.h>

10BASE-T1L PMA status

◆ MDIO_PMA_B10L_STAT_2V4_ABLE

#define MDIO_PMA_B10L_STAT_2V4_ABLE   BIT(12)

#include <zephyr/net/mdio.h>

10BASE-T1L PHY has 2.4 Vpp operating mode ability

◆ MDIO_PMA_B10L_STAT_EEE

#define MDIO_PMA_B10L_STAT_EEE   BIT(10)

#include <zephyr/net/mdio.h>

10BASE-T1L PHY has EEE ability

◆ MDIO_PMA_B10L_STAT_FAULT

#define MDIO_PMA_B10L_STAT_FAULT   BIT(1)

#include <zephyr/net/mdio.h>

10BASE-T1L Fault condition detected

◆ MDIO_PMA_B10L_STAT_LB_ABLE

#define MDIO_PMA_B10L_STAT_LB_ABLE   BIT(13)

#include <zephyr/net/mdio.h>

10BASE-T1L PHY has loopback ability

◆ MDIO_PMA_B10L_STAT_LINK

#define MDIO_PMA_B10L_STAT_LINK   BIT(0)

#include <zephyr/net/mdio.h>

10BASE-T1L PMA receive link up

◆ MDIO_PMA_B10L_STAT_LOW_POWER

#define MDIO_PMA_B10L_STAT_LOW_POWER   BIT(11)

#include <zephyr/net/mdio.h>

10BASE-T1L PMA has low-power ability

◆ MDIO_PMA_B10L_STAT_POLARITY

#define MDIO_PMA_B10L_STAT_POLARITY   BIT(2)

#include <zephyr/net/mdio.h>

10BASE-T1L Receive polarity is reversed

◆ MDIO_PMA_B10L_STAT_RECV_FAULT

#define MDIO_PMA_B10L_STAT_RECV_FAULT   BIT(9)

#include <zephyr/net/mdio.h>

10BASE-T1L Able to detect fault on receive path

◆ MDIO_PMA_PMD_BT1_CTRL

#define MDIO_PMA_PMD_BT1_CTRL   0x0834U

#include <zephyr/net/mdio.h>

BASE-T1 PMA/PMD control register.

◆ MDIO_PMA_PMD_BT1_CTRL_CFG_MST

#define MDIO_PMA_PMD_BT1_CTRL_CFG_MST   BIT(14)

#include <zephyr/net/mdio.h>

BASE-T1 master/slave configuration.

◆ MDIO_SPEED

#define MDIO_SPEED   0x0004U

#include <zephyr/net/mdio.h>

Speed ability.

◆ MDIO_STAT1

#define MDIO_STAT1   0x0001U

#include <zephyr/net/mdio.h>

Status 1.

◆ MDIO_STAT2

#define MDIO_STAT2   0x0008U

#include <zephyr/net/mdio.h>

Status 2.

Enumeration Type Documentation

◆ mdio_opcode

#include <zephyr/net/mdio.h>

MDIO transaction operation code.

Enumerator
MDIO_OP_C22_WRITE 

IEEE 802.3 22.2.4.5.4 write operation.

MDIO_OP_C22_READ 

IEEE 802.3 22.2.4.5.4 read operation.

MDIO_OP_C45_ADDRESS 

IEEE 802.3 45.3.4 address operation.

MDIO_OP_C45_WRITE 

IEEE 802.3 45.3.4 write operation.

MDIO_OP_C45_READ_INC 

IEEE 802.3 45.3.4 post-read-increment-address operation.

MDIO_OP_C45_READ 

IEEE 802.3 45.3.4 read operation.