Home
last modified time | relevance | path

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

/AliOS-Things-master/hardware/chip/haas1000/hal/
A Duart.c298 struct HAL_UART_CFG_T uart_cfg = {0}; in hal_uart_init() local
327 uart_cfg.baud = uart->config.baud_rate; in hal_uart_init()
328 uart_cfg.parity = uart->config.parity; in hal_uart_init()
329 uart_cfg.stop = uart->config.stop_bits; in hal_uart_init()
330 uart_cfg.data = uart->config.data_width; in hal_uart_init()
331 uart_cfg.flow = uart->config.flow_control; in hal_uart_init()
332 uart_cfg.tx_level = HAL_UART_FIFO_LEVEL_1_2; in hal_uart_init()
333 uart_cfg.rx_level = HAL_UART_FIFO_LEVEL_1_2; in hal_uart_init()
334 uart_cfg.dma_rx = true; in hal_uart_init()
335 uart_cfg.dma_tx = true; in hal_uart_init()
[all …]
/AliOS-Things-master/hardware/chip/haas1000/hal/2ndboot/
A Duart.c42 struct HAL_UART_CFG_T uart_cfg = { in hal_trace_rx_start() local
47 hal_uart_reopen(trace_uart, &uart_cfg); in hal_trace_rx_start()

Completed in 4 milliseconds