IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


int ethMiiWrite ( unsigned char  phyAddr,
unsigned char  regAddr,
unsigned short  data 
)

This functions write a 16-Bit value into a specified register of the PHY controller connected with the SC2x3 Ethernet-MAC via the MII-Interface.

Parameters:
[in] phyAddr The hardware address of the phy controller
[in] regAddr Register address
[in] data The 16-Bit data word to write
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