lpcware

Wait for DMA Controller enable

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by ezharkov on Fri Aug 23 09:58:33 MST 2013
There are the following lines in lpc177x_8x_gpdma.c:

LPC_GPDMA->Config = GPDMA_DMACConfig_E;
while (!(LPC_GPDMA->Config & GPDMA_DMACConfig_E));

My question is what is the loop for? I cannot find anything in the UM10470 datasheet that calls for a loop.

Outcomes