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

Function EMACRxDMADescriptorListSet

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

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,

Source from the content-addressed store, hash-verified

1908//
1909//*****************************************************************************
1910void
1911EMACRxDMADescriptorListSet(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//

Callers 1

InitDMADescriptorsFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected