Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/serial/
Duart_smartbond.c99 struct uart_smartbond_runtime_cfg runtime_cfg; member
208 config->regs->UART2_MCR_REG = data->runtime_cfg.mcr_reg_val; in apply_runtime_config()
215 config->regs->UART2_IER_DLH_REG = BAUDRATE_CFG_DLH(data->runtime_cfg.baudrate_cfg); in apply_runtime_config()
216 config->regs->UART2_RBR_THR_DLL_REG = BAUDRATE_CFG_DLL(data->runtime_cfg.baudrate_cfg); in apply_runtime_config()
217 config->regs->UART2_DLF_REG = BAUDRATE_CFG_DLF(data->runtime_cfg.baudrate_cfg); in apply_runtime_config()
221 config->regs->UART2_LCR_REG = data->runtime_cfg.lcr_reg_val; in apply_runtime_config()
228 config->regs->UART2_IER_DLH_REG = data->runtime_cfg.ier_reg_val; in apply_runtime_config()
301 data->runtime_cfg.baudrate_cfg = baudrate_cfg; in uart_smartbond_configure()
302 data->runtime_cfg.lcr_reg_val = lcr_reg_val; in uart_smartbond_configure()
303 data->runtime_cfg.mcr_reg_val = cfg->flow_ctrl ? UART2_UART2_MCR_REG_UART_AFCE_Msk : 0; in uart_smartbond_configure()
[all …]