Home
last modified time | relevance | path

Searched refs:uart_reg (Results 1 – 3 of 3) sorted by relevance

/hal_nxp-3.7.0/imx/drivers/
Duart_imx.c260 volatile uint32_t* uart_reg = 0; in UART_SetIntCmd() local
263 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() local
304 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() local
327 uart_reg = (uint32_t *)((uint32_t)base + (dmaSource >> 16)); in UART_SetDmaCmd()
330 *uart_reg |= uart_mask; in UART_SetDmaCmd()
[all …]
Duart_imx.h393 volatile uint32_t* uart_reg = 0; in UART_GetStatusFlag() local
395 uart_reg = (uint32_t *)((uint32_t)base + (flag >> 16)); in UART_GetStatusFlag()
396 return (bool)((*uart_reg >> (flag & 0x0000FFFF)) & 0x1); in UART_GetStatusFlag()
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/iuart/
Dfsl_uart.c644 volatile uint32_t *uart_reg; in UART_GetStatusFlag() local
646 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() local
663 uart_reg = (uint32_t *)((uintptr_t)base + (flag >> 16)); in UART_ClearStatusFlag()
666 *uart_reg = uart_mask; in UART_ClearStatusFlag()