spinnaker_tools 3.4.0
SpiNNaker API, sark, sc&mp, bmp firmware and build tools
|
Spinnaker support routines for SMC PHY (physical layer ethernet) chip. More...
Go to the source code of this file.
Enumerations | |
enum | spinn_phy_registers { PHY_CONTROL = 0 , PHY_STATUS = 1 , PHY_ID1 = 2 , PHY_ID2 = 3 , PHY_AUTO_ADV = 4 , PHY_AUTO_LPA = 5 , PHY_AUTO_EXP = 6 , PHY_SI_REV = 16 , PHY_MODE_CSR = 17 , PHY_SP_MODE = 18 , PHY_ERR_COUNT = 26 , PHY_SP_CSIR = 27 , PHY_INT_SRC = 29 , PHY_INT_MASK = 30 , PHY_SP_CSR = 31 } |
PHY registers. More... | |
Functions | |
void | phy_reset (void) |
Reset the PHY chip. | |
void | phy_write (uint addr, uint data) |
Write to the PHY chip. | |
uint | phy_read (uint addr) |
Read from the PHY chip. | |
Spinnaker support routines for SMC PHY (physical layer ethernet) chip.
enum spinn_phy_registers |
PHY registers.
Documentation guessed based on https://github.com/goertzenator/smsc7500/blob/master/smsclan7500.h
Write to the PHY chip.
[in] | addr | The register to write to |
[in] | data | The value to write (really a ushort) |