Home
last modified time | relevance | path

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

/AliOS-Things-master/components/trace/
A Duart_send.c34 static uart_dev_t uart_demo; variable
95 uart_demo.port = 0; in uart_port_init()
96 uart_demo.config.baud_rate = 1500000; in uart_port_init()
97 uart_demo.config.mode = MODE_TX_RX; in uart_port_init()
98 uart_demo.config.flow_control = FLOW_CONTROL_DISABLED; in uart_port_init()
99 uart_demo.config.stop_bits = STOP_BITS_1; in uart_port_init()
100 uart_demo.config.parity = NO_PARITY; in uart_port_init()
101 uart_demo.config.data_width = DATA_WIDTH_8BIT; in uart_port_init()
103 ret = hal_uart_init(&uart_demo); in uart_port_init()
112 hal_uart_finalize(&uart_demo); in uart_port_init()
[all …]

Completed in 4 milliseconds