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.
| 2239 | // |
| 2240 | //***************************************************************************** |
| 2241 | void |
| 2242 | EMACTxEnable(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 | // |