|
AM263x MCU+ SDK
09.01.00
|
|
Go to the documentation of this file.
40 #ifndef ENET_MOD_PHY_H_
41 #define ENET_MOD_PHY_H_
60 #define ENET_PHY_PUBLIC_IOCTL(x) (ENET_IOCTL_TYPE_PUBLIC | \
61 ENET_IOCTL_PHY_BASE | \
205 typedef struct EnetPhy_GenericInArgs_s
214 typedef struct EnetPhy_ReadRegInArgs_s
226 typedef struct EnetPhy_WriteRegInArgs_s
241 typedef struct EnetPhy_C45ReadRegInArgs_s
256 typedef struct EnetPhy_C45WriteRegInArgs_s
Enet_MacPort macPort
Definition: enet_mod_phy.h:208
EnetPhy_Ioctl_e
PHY IOCTL commands.
Definition: enet_mod_phy.h:72
uint16_t reg
Definition: enet_mod_phy.h:232
@ ENET_PHY_IOCTL_READ_REG
Read PHY register.
Definition: enet_mod_phy.h:145
@ ENET_PHY_IOCTL_GET_LINK_MODE
Get the link speed and duplexity state after the state machine has reached the LINKED state.
Definition: enet_mod_phy.h:127
@ ENET_PHY_IOCTL_C45_WRITE_REG
Write PHY register using Clause-45 frame.
Definition: enet_mod_phy.h:190
Enet_MacPort macPort
Definition: enet_mod_phy.h:259
@ ENET_PHY_IOCTL_GET_ID
Get PHY identification.
Definition: enet_mod_phy.h:80
Input args for ENET_PHY_IOCTL_WRITE_EXT_REG command.
Definition: enet_mod_phy.h:227
@ ENET_PHY_IOCTL_WRITE_REG
Write PHY register.
Definition: enet_mod_phy.h:154
uint16_t reg
Definition: enet_mod_phy.h:250
@ ENET_PHY_IOCTL_RESET
Reset PHY.
Definition: enet_mod_phy.h:136
@ ENET_PHY_IOCTL_READ_EXT_REG
Read PHY extended register.
Definition: enet_mod_phy.h:163
uint16_t val
Definition: enet_mod_phy.h:268
@ ENET_PHY_IOCTL_GET_SUPPORTED_MODES
Get PHY supported modes by local PHY device.
Definition: enet_mod_phy.h:89
Generic input args.
Definition: enet_mod_phy.h:206
Enet_MacPort
MAC port.
Definition: enet_types.h:409
Enet_MacPort macPort
Definition: enet_mod_phy.h:229
uint16_t reg
Definition: enet_mod_phy.h:220
Enet_MacPort macPort
Definition: enet_mod_phy.h:244
Input args for ENET_PHY_IOCTL_C45_WRITE_REG command.
Definition: enet_mod_phy.h:257
Input args for ENET_PHY_IOCTL_C45_READ_REG command.
Definition: enet_mod_phy.h:242
This file contains the type definitions and helper macros for the Ethernet PHY interface.
@ ENET_PHY_IOCTL_WRITE_EXT_REG
Write PHY extended register.
Definition: enet_mod_phy.h:172
uint8_t mmd
Definition: enet_mod_phy.h:262
@ ENET_PHY_IOCTL_IS_ALIVE
Check PHY alive status.
Definition: enet_mod_phy.h:107
@ ENET_PHY_IOCTL_IS_LINKED
Check state-machine link state, that is, whether the state machine has reached the LINKED state.
Definition: enet_mod_phy.h:117
uint16_t val
Definition: enet_mod_phy.h:235
Enet_MacPort macPort
Definition: enet_mod_phy.h:217
@ ENET_PHY_IOCTL_PRINT_REGS
Print PHY registers.
Definition: enet_mod_phy.h:199
uint8_t mmd
Definition: enet_mod_phy.h:247
Input args for ENET_PHY_IOCTL_READ_EXT_REG command.
Definition: enet_mod_phy.h:215
This file contains the type definitions and helper macros for the Enet Module interface.
#define ENET_PHY_PUBLIC_IOCTL(x)
Helper macro to create PHY IOCTL commands.
Definition: enet_mod_phy.h:60
@ ENET_PHY_IOCTL_C45_READ_REG
Read PHY register using Clause-45 frame.
Definition: enet_mod_phy.h:181
uint16_t reg
Definition: enet_mod_phy.h:265
@ ENET_PHY_IOCTL_GET_LOOPBACK_STATE
Check if PHY is in loopback or not.
Definition: enet_mod_phy.h:98