Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/serial/
Duart_smartbond.c92 uint32_t lcr_reg_val; member
221 config->regs->UART2_LCR_REG = data->runtime_cfg.lcr_reg_val; in apply_runtime_config()
239 uint32_t lcr_reg_val; in uart_smartbond_configure() local
272 lcr_reg_val = 0; in uart_smartbond_configure()
278 lcr_reg_val |= UART2_UART2_LCR_REG_UART_EPS_Msk; in uart_smartbond_configure()
281 lcr_reg_val |= UART2_UART2_LCR_REG_UART_PEN_Msk; in uart_smartbond_configure()
286 lcr_reg_val |= STOP_BITS_2 << UART2_UART2_LCR_REG_UART_STOP_Pos; in uart_smartbond_configure()
291 lcr_reg_val |= DATA_BITS_6 << UART2_UART2_LCR_REG_UART_DLS_Pos; in uart_smartbond_configure()
294 lcr_reg_val |= DATA_BITS_7 << UART2_UART2_LCR_REG_UART_DLS_Pos; in uart_smartbond_configure()
297 lcr_reg_val |= DATA_BITS_8 << UART2_UART2_LCR_REG_UART_DLS_Pos; in uart_smartbond_configure()
[all …]