Sets the DMA receive descriptor list pointer. \param ui32Base is the base address of the controller. \param pDescriptor points to the first DMA descriptor in the list to be passed to the receive DMA engine. This function sets the Ethernet MAC's receive DMA descriptor list pointer. The \e pDescriptor pointer must point to one or more descriptor structures. When multiple descriptors are provided,
| 1908 | // |
| 1909 | //***************************************************************************** |
| 1910 | void |
| 1911 | EMACRxDMADescriptorListSet(uint32_t ui32Base, tEMACDMADescriptor *pDescriptor) |
| 1912 | { |
| 1913 | // |
| 1914 | // Parameter sanity check. |
| 1915 | // |
| 1916 | ASSERT(pDescriptor); |
| 1917 | ASSERT(((uint32_t)pDescriptor & 3) == 0); |
| 1918 | |
| 1919 | // |
| 1920 | // Write the supplied address to the MACRXDLADDR register. |
| 1921 | // |
| 1922 | HWREG(ui32Base + EMAC_O_RXDLADDR) = (uint32_t)pDescriptor; |
| 1923 | } |
| 1924 | |
| 1925 | //***************************************************************************** |
| 1926 | // |
no outgoing calls
no test coverage detected