Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/examples/peripherals/uart/uart_repl/main/
Duart_repl_example_main.c22 #define DEFAULT_UART_CHANNEL (0) macro
23 #define CONSOLE_UART_CHANNEL (1 - DEFAULT_UART_CHANNEL)
82 ESP_ERROR_CHECK(uart_driver_install(DEFAULT_UART_CHANNEL, READ_BUF_SIZE * 2, 0, 0, NULL, 0)); in configure_uarts()
83 ESP_ERROR_CHECK(uart_param_config(DEFAULT_UART_CHANNEL, &uart_config)); in configure_uarts()
84 ESP_ERROR_CHECK(uart_set_pin(DEFAULT_UART_CHANNEL, DEFAULT_UART_TX_PIN, DEFAULT_UART_RX_PIN, in configure_uarts()
115 len = uart_read_bytes(DEFAULT_UART_CHANNEL, data, READ_BUF_SIZE, 100 / portTICK_RATE_MS); in send_commands()
122 len = uart_write_bytes(DEFAULT_UART_CHANNEL, command, sizeof(command)); in send_commands()
129 … len = uart_read_bytes(DEFAULT_UART_CHANNEL, data, READ_BUF_SIZE - 1, 250 / portTICK_RATE_MS); in send_commands()
/hal_espressif-3.6.0/examples/peripherals/uart/uart_repl/
DREADME.md26 DEFAULT_UART_CHANNEL, CONSOLE_UART_CHANNEL, DEFAULT_UART_RX_PIN, DEFAULT_UART_TX_PIN, CONSOLE_UART_…