Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
| Functions | |
| static void | tx_descr_init (void) | 
| Initializes TX Descriptor. | |
| static int32_t | write_PHY (uint32_t PhyReg, uint16_t Value) | 
| Write value to PHY device. | |
| static int32_t | read_PHY (uint32_t PhyReg) | 
| Read value from PHY device. | |
| void | setEmacAddr (uint8_t abStationAddr[]) | 
| Set Station MAC address for EMAC module. | |
Function Documentation
| static int32_t read_PHY | ( | uint32_t | PhyReg ) |  [static] | 
Read value from PHY device.
- Parameters:
- 
  [in] PhyReg PHY Register address 
- Returns:
- Return value if success, otherwise return (-1)
Definition at line 183 of file lpc17xx_emac.c.
| void setEmacAddr | ( | uint8_t | abStationAddr[] ) | 
Set Station MAC address for EMAC module.
- Parameters:
- 
  [in] abStationAddr Pointer to Station address that contains 6-bytes of MAC address (should be in order from MAC Address 1 to MAC Address 6) 
- Returns:
- None
Definition at line 209 of file lpc17xx_emac.c.
| static void tx_descr_init | ( | void | ) |  [static] | 
Initializes TX Descriptor.
- Parameters:
- 
  [in] None 
- Returns:
- None
Definition at line 130 of file lpc17xx_emac.c.
| static int32_t write_PHY | ( | uint32_t | PhyReg, | 
| uint16_t | Value | ||
| ) |  [static] | 
Write value to PHY device.
- Parameters:
- 
  [in] PhyReg PHY Register address [in] Value Value to write 
- Returns:
- (0) if sucess, otherwise return (-1)
Definition at line 157 of file lpc17xx_emac.c.
Generated on Tue Jul 12 2022 17:06:03 by
 1.7.2
 1.7.2