Sets the DMA transmit 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 transmit DMA engine. This function sets the Ethernet MAC's transmit DMA descriptor list pointer. The \e pDescriptor pointer must point to one or more descriptor structures. When multiple descriptors are provid
| 2028 | // |
| 2029 | //***************************************************************************** |
| 2030 | void |
| 2031 | EMACTxDMADescriptorListSet(uint32_t ui32Base, tEMACDMADescriptor *pDescriptor) |
| 2032 | { |
| 2033 | // |
| 2034 | // Parameter sanity check. |
| 2035 | // |
| 2036 | ASSERT(pDescriptor); |
| 2037 | ASSERT(((uint32_t)pDescriptor & 3) == 0); |
| 2038 | |
| 2039 | // |
| 2040 | // Write the supplied address to the MACTXDLADDR register. |
| 2041 | // |
| 2042 | HWREG(ui32Base + EMAC_O_TXDLADDR) = (uint32_t)pDescriptor; |
| 2043 | } |
| 2044 | |
| 2045 | //***************************************************************************** |
| 2046 | // |
no outgoing calls
no test coverage detected