Searched refs:g_repl_uart (Results 1 – 2 of 2) sorted by relevance
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/repl/ |
A D | repl.c | 26 static uart_dev_t g_repl_uart; variable 35 ret = aos_hal_uart_recv_II(&g_repl_uart, inbuf, expected_length, recv_size, 100); in aos_repl_read() 47 aos_hal_uart_send(&g_repl_uart, (void *)msg, strlen(msg), 0xFFFFFFFFU); in repl_putstr() 99 g_repl_uart.port = AMP_REPL_UART_PORT; in repl_init() 100 g_repl_uart.config.baud_rate = AMP_REPL_UART_BAUDRATE; in repl_init() 101 g_repl_uart.config.data_width = DATA_WIDTH_8BIT; in repl_init() 102 g_repl_uart.config.flow_control = FLOW_CONTROL_DISABLED; in repl_init() 103 g_repl_uart.config.mode = MODE_TX_RX; in repl_init() 104 g_repl_uart.config.parity = NO_PARITY; in repl_init() 105 g_repl_uart.config.stop_bits = STOP_BITS_1; in repl_init() [all …]
|
/AliOS-Things-master/components/amp/engine/duktape_engine/ |
A D | repl.c | 46 static uart_dev_t g_repl_uart; variable 57 ret = aos_hal_uart_recv_II(&g_repl_uart, inbuf, 1, &recv_size, AOS_WAIT_FOREVER); in repl_getchar() 72 aos_hal_uart_send(&g_repl_uart, (void *)msg, strlen(msg), 0xFFFFFFFFU); in repl_putstr() 619 g_repl_uart.port = AMP_REPL_UART_PORT; in repl_init() 620 g_repl_uart.config.baud_rate = AMP_REPL_UART_BAUDRATE; in repl_init() 621 g_repl_uart.config.data_width = DATA_WIDTH_8BIT; in repl_init() 622 g_repl_uart.config.flow_control = FLOW_CONTROL_DISABLED; in repl_init() 623 g_repl_uart.config.mode = MODE_TX_RX; in repl_init() 624 g_repl_uart.config.parity = NO_PARITY; in repl_init() 625 g_repl_uart.config.stop_bits = STOP_BITS_1; in repl_init() [all …]
|
Completed in 5 milliseconds