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

Function EMACRxEnable

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

Enables the Ethernet controller receiver. \param ui32Base is the base address of the controller. When starting operations on the Ethernet interface, this function should be called to enable the receiver after all configuration has been completed. \return None.

Source from the content-addressed store, hash-verified

2292//
2293//*****************************************************************************
2294void
2295EMACRxEnable(uint32_t ui32Base)
2296{
2297 //
2298 // Enable the MAC receive path.
2299 //
2300 HWREG(ui32Base + EMAC_O_DMAOPMODE) |= EMAC_DMAOPMODE_SR;
2301
2302 //
2303 // Enable receive in the MAC configuration register.
2304 //
2305 HWREG(ui32Base + EMAC_O_CFG) |= EMAC_CFG_RE;
2306}
2307
2308//*****************************************************************************
2309//

Callers 1

tivaif_hwinitFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected