 |
AM263Px MCU+ SDK
11.00.00
|
|
Go to the documentation of this file.
40 #ifndef ENET_PHYMDIO_DFLT_H_
41 #define ENET_PHYMDIO_DFLT_H_
int32_t EnetPhyMdioDflt_writeC45(uint32_t group, uint32_t phyAddr, uint8_t mmd, uint16_t reg, uint16_t val, Mdio_Obj *hMdio)
int32_t EnetPhyMdioDflt_writeC22(uint32_t group, uint32_t phyAddr, uint32_t reg, uint16_t val, Mdio_Obj *hMdio)
int32_t EnetPhyMdioDflt_isLinked(uint32_t phyAddr, bool *isLinked, Mdio_Obj *hMdio)
int32_t EnetPhyMdioDflt_isAlive(uint32_t phyAddr, bool *isAlive, Mdio_Obj *hMdio)
Enet IOCTL param.
Definition: enet_ioctl.h:282
This file contains the type definitions and helper macros for the Ethernet PHY interface.
struct EnetPhy_Obj_s * EnetPhy_Handle
PHY driver object handle.
Definition: enetphy.h:672
int32_t EnetPhyMdioDflt_ioctl(EnetPhy_Handle hPhy, uint32_t cmd, Enet_IoctlPrms *prms)
Run an IOCTL operation on a PHY.
int32_t EnetPhyMdioDflt_readC45(uint32_t group, uint32_t phyAddr, uint8_t mmd, uint16_t reg, uint16_t *val, Mdio_Obj *hMdio)
int32_t EnetPhyMdioDflt_readC22(uint32_t group, uint32_t phyAddr, uint32_t reg, uint16_t *val, Mdio_Obj *hMdio)
MDIO driver.
Definition: enetphy.h:410
EnetPhy_MdioHandle EnetPhyMdioDflt_getPhyMdio(void)
Get handle to the default Enet MDIO implementation.
struct Mdio_Obj_s Mdio_Obj
Definition: enetphy.h:200