This file contains the interface to the default implementation of the MDIO driver defined by the Ethernet PHY driver (EnetPhy).
Go to the source code of this file.
Functions | |
EnetPhy_MdioHandle | EnetPhyMdioDflt_getPhyMdio (void) |
Get handle to the default Enet MDIO implementation. More... | |
int32_t | EnetPhyMdioDflt_ioctl (EnetPhy_Handle hPhy, uint32_t cmd, Enet_IoctlPrms *prms) |
Run an IOCTL operation on a PHY. More... | |
EnetPhy_MdioHandle EnetPhyMdioDflt_getPhyMdio | ( | void | ) |
Get handle to the default Enet MDIO implementation.
Gets a handle to the default EnetPhy MDIO driver implementation which is based on the Enet MDIO module.
int32_t EnetPhyMdioDflt_ioctl | ( | EnetPhy_Handle | hPhy, |
uint32_t | cmd, | ||
Enet_IoctlPrms * | prms | ||
) |
Run an IOCTL operation on a PHY.
Runs an IOCTL operation on a given PHY using the ENETPHY driver APIs. This IOCTL function can be used by Enet Peripheral drivers to handle PHY IOCTL commands if they use an ENETPHY driver.
hPhy | PHY handle |
cmd | IOCTL command Id |
prms | IOCTL parameters |