IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


int ethMiiRead ( unsigned char  phyAddr,
unsigned char  regAddr,
unsigned short *  data 
)

This functions reads a 16-Bit register value from an external phy controller connected with the SC2x3 Ethernet-MAC controller via the MII-Interface.

Parameters:
[in] phyAddr The hardware address of the phy controller
[in] regAddr Register address
[out] data In case of success the 16-Bit data storage contains the requested value.
Returns:
0 on success, -1 on failure





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Thu Jan 26 16:21:36 2017 by Doxygen 1.6.1