![]() |
![]() |
This file contains the type definitions and helper macros for the Enet MDIO module. More...
#include <stdint.h>
#include <ti/drv/enet/include/core/enet_types.h>
#include <ti/drv/enet/include/core/enet_mod.h>
Data Structures | |
struct | EnetMdio_C22ReadInArgs_s |
Input args for ENET_MDIO_IOCTL_C22_READ command. More... | |
struct | EnetMdio_C45ReadInArgs_s |
Input args for ENET_MDIO_IOCTL_C45_READ command. More... | |
struct | EnetMdio_C22WriteInArgs_s |
Input args for ENET_MDIO_IOCTL_C22_WRITE command. More... | |
struct | EnetMdio_C45WriteInArgs_s |
Input args for ENET_MDIO_IOCTL_C45_WRITE command. More... | |
Macros | |
#define | ENET_MDIO_FEAT_CLAUSE45 (ENET_BIT(0U)) |
MDIO feature mask for Clause-45 support. | |
#define | ENET_MDIO_FEAT_PHY_MONITOR (ENET_BIT(1U)) |
#define | ENET_MDIO_PUBLIC_IOCTL(x) (ENET_IOCTL_MDIO_BASE | ENET_IOCTL_MIN(x)) |
Helper macro to create IOCTL commands for MDIO module. | |
#define | ENET_MDIO_PHY_ADDR_MASK(addr) (ENET_BIT(addr)) |
Create a MDIO PHY mask from a PHY address. | |
#define | ENET_MDIO_PHY_ADDR_MASK_NONE (0x00000000U) |
MDIO PHY address mask for no PHYs present. | |
#define | ENET_MDIO_PHY_ADDR_MASK_ALL (0xFFFFFFFFU) |
MDIO PHY address mask for all PHYs present. | |
#define | ENET_MDIO_PHY_CNT_MAX (31U) |
Maximum number of PHYs supported on the MDIO bus. | |
Typedefs | |
typedef enum EnetMdio_Ioctl_e | EnetMdio_Ioctl |
MDIO IOCTL commands. | |
typedef enum EnetMdio_OpMode_e | EnetMdio_OpMode |
MDIO operating mode. | |
typedef enum EnetMdio_Group_e | EnetMdio_Group |
MDIO user group. | |
typedef enum EnetMdio_FrameFmt_s | EnetMdio_FrameFmt |
Frame format. | |
typedef enum EnetMdio_C45Mmd_e | EnetMdio_C45Mmd |
Clause-45 MDIO Manageable Device (MMD) addresses. | |
typedef struct EnetMdio_C22ReadInArgs_s | EnetMdio_C22ReadInArgs |
Input args for ENET_MDIO_IOCTL_C22_READ command. More... | |
typedef struct EnetMdio_C45ReadInArgs_s | EnetMdio_C45ReadInArgs |
Input args for ENET_MDIO_IOCTL_C45_READ command. More... | |
typedef struct EnetMdio_C22WriteInArgs_s | EnetMdio_C22WriteInArgs |
Input args for ENET_MDIO_IOCTL_C22_WRITE command. More... | |
typedef struct EnetMdio_C45WriteInArgs_s | EnetMdio_C45WriteInArgs |
Input args for ENET_MDIO_IOCTL_C45_WRITE command. More... | |
This file contains the type definitions and helper macros for the Enet MDIO module.