MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / EMACLPILinkClear

Function EMACLPILinkClear

bsp/tm4c129x/libraries/driverlib/emac.c:4886–4898  ·  view source on GitHub ↗

Clears the link status of the external PHY. \param ui32Base is the base address of the controller. This function is used to clear the link status of the external PHY when the link is lost due to a disconnect or EEE mode link is not established. \return None.

Source from the content-addressed store, hash-verified

4884//
4885//*****************************************************************************
4886void
4887EMACLPILinkClear(uint32_t ui32Base)
4888{
4889 //
4890 // Parameter sanity check.
4891 //
4892 ASSERT(ui32Base == EMAC0_BASE);
4893
4894 //
4895 // Configure the LPI Control registers.
4896 //
4897 HWREG(ui32Base + EMAC_O_LPICTLSTAT) &= ~(EMAC_LPICTLSTAT_PLS);
4898}
4899
4900//*****************************************************************************
4901//

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected