2.2 BSP Rel. 1.0 for PPMC-275 Programmer's Guide
2.2 BSP Rel. 1.0 for PPMC-275 Programmer's Guide
2.2 BSP Rel. 1.0 for PPMC-275 Programmer's Guide
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
API Call Reference List of APIs<br />
bool frcMACWrite16 (UINT8 portno ,UINT8 mac0, UINT8 mac1, UINT8 mac2,<br />
UINT8mac3,UINT8 mac4, UINT8 mac5)<br />
DESCRIPTION This function writes the 6 bytes MAC Address of specified port<br />
within the MAC reserved area that is offset 0x1ff4to 0x1fff of<br />
BIBEEPROM.Port0 MAC Address is stored from offset 0x1ff4 to<br />
0x1ff9, Port1 MAC Address is stored from 0x1ffa to 0x1fff.<br />
INPUT<br />
UINT8 portNo MGI Port number of which the MAC Address is to be stored.<br />
UINT8 MAC0 The Byte 0 of MAC Address of specified port.<br />
UINT8 MAC1 The Byte 1 of MAC Address of specified port.<br />
UINT8 MAC2 The Byte 2 of MAC Address of specified port.<br />
UINT8 MAC3 The Byte 3 of MAC Address of specified port.<br />
UINT8 MAC4 The Byte 4 of MAC Address of specified port.<br />
UINT8 MAC5 The Byte 5 of MAC Address of specified port.<br />
OUTPUT Not Applicable<br />
RETURN Not Applicable<br />
bool frcMACRead (UINT8 portNo, UNIT8 *buffer)<br />
DESCRIPTION This command is used to read the MAC addresses of the MGI<br />
ports.<br />
INPUT<br />
UINT8 portNo The port number of the MGI Port.<br />
UINT8 *buffer The buffer where the MAC addresses are returned.<br />
OUTPUT Returns the MAC address at the given offset.<br />
RETURN Not Applicable<br />
VxWorks 5.5/Tornado <strong>2.2</strong> <strong>BSP</strong> <strong>Rel</strong>. <strong>1.0</strong> <strong>for</strong> <strong>PPMC</strong>-<strong>275</strong> 5 - 109