Searched refs:dmaSource (Results 1 – 3 of 3) sorted by relevance
322 void UART_SetDmaCmd(UART_Type* base, uint32_t dmaSource, bool enable) in UART_SetDmaCmd() argument327 uart_reg = (uint32_t *)((uint32_t)base + (dmaSource >> 16)); in UART_SetDmaCmd()328 uart_mask = (1 << (dmaSource & 0x0000FFFF)); in UART_SetDmaCmd()
427 void UART_SetDmaCmd(UART_Type* base, uint32_t dmaSource, bool enable);
661 void UART_EnableDMA(UART_Type *base, uint32_t dmaSource, bool enable) in UART_EnableDMA() argument666 uart_reg = (uint32_t *)((uint32_t)base + (dmaSource >> 16)); in UART_EnableDMA()667 uart_mask = (1UL << (dmaSource & 0x0000001FU)); in UART_EnableDMA()