Lines Matching refs:base

20 	LPUART_Type *base;  member
43 uint32_t flags = LPUART_GetStatusFlags(config->base); in rv32m1_lpuart_poll_in()
47 *c = LPUART_ReadByte(config->base); in rv32m1_lpuart_poll_in()
58 while (!(LPUART_GetStatusFlags(config->base) in rv32m1_lpuart_poll_out()
62 LPUART_WriteByte(config->base, c); in rv32m1_lpuart_poll_out()
68 uint32_t flags = LPUART_GetStatusFlags(config->base); in rv32m1_lpuart_err_check()
83 LPUART_ClearStatusFlags(config->base, kLPUART_RxOverrunFlag | in rv32m1_lpuart_err_check()
99 (LPUART_GetStatusFlags(config->base) in rv32m1_lpuart_fifo_fill()
102 LPUART_WriteByte(config->base, tx_data[num_tx++]); in rv32m1_lpuart_fifo_fill()
115 (LPUART_GetStatusFlags(config->base) in rv32m1_lpuart_fifo_read()
118 rx_data[num_rx++] = LPUART_ReadByte(config->base); in rv32m1_lpuart_fifo_read()
129 LPUART_EnableInterrupts(config->base, mask); in rv32m1_lpuart_irq_tx_enable()
137 LPUART_DisableInterrupts(config->base, mask); in rv32m1_lpuart_irq_tx_disable()
143 uint32_t flags = LPUART_GetStatusFlags(config->base); in rv32m1_lpuart_irq_tx_complete()
153 return (LPUART_GetEnabledInterrupts(config->base) & mask) in rv32m1_lpuart_irq_tx_ready()
162 LPUART_EnableInterrupts(config->base, mask); in rv32m1_lpuart_irq_rx_enable()
170 LPUART_DisableInterrupts(config->base, mask); in rv32m1_lpuart_irq_rx_disable()
176 uint32_t flags = LPUART_GetStatusFlags(config->base); in rv32m1_lpuart_irq_rx_full()
186 return (LPUART_GetEnabledInterrupts(config->base) & mask) in rv32m1_lpuart_irq_rx_pending()
197 LPUART_EnableInterrupts(config->base, mask); in rv32m1_lpuart_irq_err_enable()
207 LPUART_DisableInterrupts(config->base, mask); in rv32m1_lpuart_irq_err_disable()
270 LPUART_Init(config->base, &uart_config, clock_freq); in rv32m1_lpuart_init()
308 .base = (LPUART_Type *)DT_INST_REG_ADDR(n), \