spinnaker_tools 3.4.0
SpiNNaker API, sark, sc&mp, bmp firmware and build tools
|
Spinnaker support routines for SMC PHY chip. More...
Functions | |
void | phy_reset (void) |
Reset the PHY chip. | |
static void | phy_shift_out (uint data, uint len) |
Sends bits to the PHY chip via the SMC. | |
static uint | phy_shift_in (uint len) |
Receive some bits from the PHY chip via the SMC. | |
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 chip.
Sends bits to the PHY chip via the SMC.
[in] | data | the data to move, in the upper bits (critical when fewer than 32 bits being moved) |
[in] | len | the number of bits to move (up to 32) |
Receive some bits from the PHY chip via the SMC.
[in] | len | the number of bits to receive (up to 32) |
Write to the PHY chip.
[in] | addr | The register to write to |
[in] | data | The value to write (really a ushort) |