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.
| 2292 | // |
| 2293 | //***************************************************************************** |
| 2294 | void |
| 2295 | EMACRxEnable(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 | // |