Searched refs:uart_reg (Results 1 – 3 of 3) sorted by relevance
260 volatile uint32_t* uart_reg = 0; in UART_SetIntCmd() local263 uart_reg = (uint32_t *)((uint32_t)base + (intSource >> 16)); in UART_SetIntCmd()267 *uart_reg |= uart_mask; in UART_SetIntCmd()269 *uart_reg &= ~uart_mask; in UART_SetIntCmd()301 volatile uint32_t* uart_reg = 0; in UART_ClearStatusFlag() local304 uart_reg = (uint32_t *)((uint32_t)base + (flag >> 16)); in UART_ClearStatusFlag()308 *uart_reg = uart_mask; in UART_ClearStatusFlag()324 volatile uint32_t* uart_reg = 0; in UART_SetDmaCmd() local327 uart_reg = (uint32_t *)((uint32_t)base + (dmaSource >> 16)); in UART_SetDmaCmd()330 *uart_reg |= uart_mask; in UART_SetDmaCmd()[all …]
393 volatile uint32_t* uart_reg = 0; in UART_GetStatusFlag() local395 uart_reg = (uint32_t *)((uint32_t)base + (flag >> 16)); in UART_GetStatusFlag()396 return (bool)((*uart_reg >> (flag & 0x0000FFFF)) & 0x1); in UART_GetStatusFlag()
644 volatile uint32_t *uart_reg; in UART_GetStatusFlag() local646 uart_reg = (uint32_t *)((uintptr_t)base + (flag >> 16)); in UART_GetStatusFlag()647 return (bool)(((*uart_reg) >> (flag & 0x1FU)) & 0x1U); in UART_GetStatusFlag()660 volatile uint32_t *uart_reg = NULL; in UART_ClearStatusFlag() local663 uart_reg = (uint32_t *)((uintptr_t)base + (flag >> 16)); in UART_ClearStatusFlag()666 *uart_reg = uart_mask; in UART_ClearStatusFlag()