Searched refs:uart_cfg (Results 1 – 6 of 6) sorted by relevance
60 uart_cfg = uart_obj->config; in hbird_configure()61 RT_ASSERT(uart_cfg != RT_NULL); in hbird_configure()89 uart_cfg = uart_obj->config; in hbird_control()90 RT_ASSERT(uart_cfg != RT_NULL); in hbird_control()116 uart_cfg = uart_obj->config; in hbird_putc()117 RT_ASSERT(uart_cfg != RT_NULL); in hbird_putc()119 uart_write(uart_cfg->uart, ch); in hbird_putc()133 uart_cfg = uart_obj->config; in hbird_getc()134 RT_ASSERT(uart_cfg != RT_NULL); in hbird_getc()156 uart_cfg = uart_obj->config; in gd32_uart_isr()[all …]
118 struct swm_uart_cfg *uart_cfg; member158 struct swm_uart_cfg *uart_cfg; in swm_uart_configure() local204 UART_Init(uart_cfg->UARTx, &(uart_cfg->uart_initstruct)); in swm_uart_configure()205 UART_Open(uart_cfg->UARTx); in swm_uart_configure()211 struct swm_uart_cfg *uart_cfg; in swm_uart_control() local219 NVIC_DisableIRQ(uart_cfg->irq); in swm_uart_control()223 NVIC_EnableIRQ(uart_cfg->irq); in swm_uart_control()231 struct swm_uart_cfg *uart_cfg; in swm_uart_putc() local244 struct swm_uart_cfg *uart_cfg; in swm_uart_getc() local271 struct swm_uart_cfg *uart_cfg; in swm_uart_isr() local[all …]
120 struct swm_uart_cfg *uart_cfg; member160 struct swm_uart_cfg *uart_cfg; in swm_uart_configure() local206 UART_Init(uart_cfg->UARTx, &(uart_cfg->uart_initstruct)); in swm_uart_configure()207 UART_Open(uart_cfg->UARTx); in swm_uart_configure()213 struct swm_uart_cfg *uart_cfg; in swm_uart_control() local221 NVIC_DisableIRQ(uart_cfg->irq); in swm_uart_control()225 NVIC_EnableIRQ(uart_cfg->irq); in swm_uart_control()233 struct swm_uart_cfg *uart_cfg; in swm_uart_putc() local248 struct swm_uart_cfg *uart_cfg; in swm_uart_getc() local275 struct swm_uart_cfg *uart_cfg; in rt_hw_uart_isr() local[all …]
59 struct bflb_uart_config_s uart_cfg; in _uart_configure() local68 uart_cfg.baudrate = UART_DEFAULT_BAUDRATE; in _uart_configure()69 uart_cfg.data_bits = UART_DATA_BITS_8; in _uart_configure()70 uart_cfg.stop_bits = UART_STOP_BITS_1; in _uart_configure()71 uart_cfg.parity = UART_PARITY_NONE; in _uart_configure()72 uart_cfg.flow_ctrl = 0; in _uart_configure()73 uart_cfg.tx_fifo_threshold = 7; in _uart_configure()74 uart_cfg.rx_fifo_threshold = 7; in _uart_configure()76 uart_cfg.baudrate = serial_cfg->baud_rate; in _uart_configure()119 uart_cfg.parity = UART_PARITY_NONE; in _uart_configure()[all …]
127 am_hal_uart_config_t uart_cfg; in am_configure() local137 uart_cfg.ui32BaudRate = cfg->baud_rate; in am_configure()140 uart_cfg.ui32DataBits = AM_HAL_UART_DATA_BITS_5; in am_configure()142 uart_cfg.ui32DataBits = AM_HAL_UART_DATA_BITS_6; in am_configure()149 uart_cfg.bTwoStopBits = false; in am_configure()151 uart_cfg.bTwoStopBits = true; in am_configure()154 uart_cfg.ui32Parity = AM_HAL_UART_PARITY_NONE; in am_configure()156 uart_cfg.ui32Parity = AM_HAL_UART_PARITY_ODD; in am_configure()158 uart_cfg.ui32Parity = AM_HAL_UART_PARITY_EVEN; in am_configure()160 uart_cfg.ui32FlowCtrl = AM_HAL_UART_FLOW_CTRL_NONE; in am_configure()[all …]
40 static struct hc_uart_cfg uart_cfg[] = variable56 static struct hc_uart uart_drv[sizeof(uart_cfg) / sizeof(uart_cfg[0])] = {0};283 for (i = 0; i < sizeof(uart_cfg) / sizeof(uart_cfg[0]); i++) in rt_hw_uart_init()285 uart_drv[i].cfg = &uart_cfg[i]; in rt_hw_uart_init()
Completed in 21 milliseconds