Home
last modified time | relevance | path

Searched refs:countTXDescUsed (Results 1 – 2 of 2) sorted by relevance

/external/platform/lpc15xx/lpcopen/periph_dma_rom_uart/example/src/
A Ddma_rom_uart.c50 static volatile int nextTXDesc, countTXDescUsed; variable
142 countTXDescUsed--; in dmaTXDone()
149 if (countTXDescUsed > 0) { in dmaTXDone()
200 else if (countTXDescUsed == 0) { in dmaTXSend()
212 dmaTXDesc[countTXDescUsed].next = DMA_ADDR(0); in dmaTXSend()
215 dmaTXDesc[countTXDescUsed].xfercfg = bytes - 1; in dmaTXSend()
219 if (countTXDescUsed == 0) { in dmaTXSend()
233 dma_task_cfg.dst = dmaTXDesc[countTXDescUsed].dest; in dmaTXSend()
241 countTXDescUsed++; in dmaTXSend()
367 countTXDescUsed = 0; in main()
[all …]
/external/platform/lpc15xx/lpcopen/periph_dma_uart/example/src/
A Ddma_uart.c50 static volatile int nextTXDesc, countTXDescUsed; variable
119 countTXDescUsed = 0; in dmaTXSetup()
142 if ((countTXDescUsed >= UARTTXDESC) || (bytes > 1024)) { in dmaTXSend()
149 else if (countTXDescUsed == 0) { in dmaTXSend()
162 dmaTXDesc[countTXDescUsed].next = DMA_ADDR(0); in dmaTXSend()
165 dmaTXDesc[countTXDescUsed].xfercfg = DMA_XFERCFG_CFGVALID | DMA_XFERCFG_SETINTA | in dmaTXSend()
171 if (countTXDescUsed == 0) { in dmaTXSend()
177 dmaTXDesc[countTXDescUsed].xfercfg); in dmaTXSend()
183 countTXDescUsed++; in dmaTXSend()
285 countTXDescUsed--; in DMA_IRQHandler()
[all …]

Completed in 7 milliseconds