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

Function EMACTxEnable

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

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

Source from the content-addressed store, hash-verified

2239//
2240//*****************************************************************************
2241void
2242EMACTxEnable(uint32_t ui32Base)
2243{
2244 //
2245 // Enable the MAC transmit path in the opmode register.
2246 //
2247 HWREG(ui32Base + EMAC_O_DMAOPMODE) |= EMAC_DMAOPMODE_ST;
2248
2249 //
2250 // Enable transmission in the MAC configuration register.
2251 //
2252 HWREG(ui32Base + EMAC_O_CFG) |= EMAC_CFG_TE;
2253}
2254
2255//*****************************************************************************
2256//

Callers 1

tivaif_hwinitFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected