Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/serial/
Duart_renesas_ra.c49 #define REG_MASK(reg) (BIT_MASK(_CONCAT(reg, _LEN)) << _CONCAT(reg, _POS)) macro
220 reg_val |= (REG_MASK(SEMR_BGDM) | REG_MASK(SEMR_ABCS)); in uart_ra_set_baudrate()
221 reg_val &= ~(REG_MASK(SEMR_BRME) | REG_MASK(SEMR_ABCSE)); in uart_ra_set_baudrate()
236 if ((uart_ra_read_8(dev, SCR) & REG_MASK(SCR_RIE))) { in uart_ra_poll_in()
241 if ((uart_ra_read_8(dev, SSR) & REG_MASK(SSR_RDRF)) == 0) { in uart_ra_poll_in()
259 while (!(uart_ra_read_8(dev, SSR) & REG_MASK(SSR_TEND)) || in uart_ra_poll_out()
260 !(uart_ra_read_8(dev, SSR) & REG_MASK(SSR_TDRE))) { in uart_ra_poll_out()
266 uart_ra_write_8(dev, SCR, reg_val & ~REG_MASK(SCR_TIE)); in uart_ra_poll_out()
269 while (!(uart_ra_read_8(dev, SSR) & REG_MASK(SSR_TEND)) || in uart_ra_poll_out()
270 !(uart_ra_read_8(dev, SSR) & REG_MASK(SSR_TDRE))) { in uart_ra_poll_out()
[all …]