Searched refs:EX_UART_NUM (Results 1 – 1 of 1) sorted by relevance
/hal_espressif-3.6.0/examples/peripherals/uart/uart_events/main/ |
D | uart_events_example_main.c | 32 #define EX_UART_NUM UART_NUM_0 macro 48 ESP_LOGI(TAG, "uart[%d] event:", EX_UART_NUM); in uart_event_task() 56 uart_read_bytes(EX_UART_NUM, dtmp, event.size, portMAX_DELAY); in uart_event_task() 58 uart_write_bytes(EX_UART_NUM, (const char*) dtmp, event.size); in uart_event_task() 66 uart_flush_input(EX_UART_NUM); in uart_event_task() 74 uart_flush_input(EX_UART_NUM); in uart_event_task() 91 uart_get_buffered_data_len(EX_UART_NUM, &buffered_size); in uart_event_task() 92 int pos = uart_pattern_pop_pos(EX_UART_NUM); in uart_event_task() 98 uart_flush_input(EX_UART_NUM); in uart_event_task() 100 uart_read_bytes(EX_UART_NUM, dtmp, pos, 100 / portTICK_PERIOD_MS); in uart_event_task() [all …]
|