lan8742_io_read_reg() is only used within netxduo.
 
Symbols
loading...
Files
loading...

lan8742_io_read_reg() function

Read a PHY register through the MDIO interface.

Syntax

static int32_t lan8742_io_read_reg(uint32_t DevAddr,     uint32_t RegAddr,     uint32_t *pRegVal);
Implemented in nx_stm32_phy_driver.c:118

Arguments

DevAddr

PHY port address

RegAddr

PHY register address

pRegVal

pointer to hold the register value

Return value

0 if OK -1 if Error

References

LocationText
nx_stm32_phy_driver.c:118
int32_t lan8742_io_read_reg(uint32_t DevAddr, uint32_t RegAddr, uint32_t *pRegVal)
nx_stm32_phy_driver.c:23
static int32_t lan8742_io_read_reg(uint32_t DevAddr, uint32_t RegAddr, uint32_t *pRegVal);
nx_stm32_phy_driver.c:31
lan8742_io_read_reg,

Call Tree

Functions called by lan8742_io_read_reg()
lan8742_io_read_reg()
all items filtered out
Data read by lan8742_io_read_reg()
lan8742_io_read_reg()::DevAddr
lan8742_io_read_reg()::RegAddr
lan8742_io_read_reg()::pRegVal
all items filtered out
lan8742_io_read_reg()
Implementations
lan8742_io_read_reg()
all items filtered out
Type of lan8742_io_read_reg()
lan8742_io_read_reg()
int32_t
all items filtered out