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

Function EMACTxDMADescriptorListSet

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

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

Source from the content-addressed store, hash-verified

2028//
2029//*****************************************************************************
2030void
2031EMACTxDMADescriptorListSet(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//

Callers 1

InitDMADescriptorsFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected