14#ifdef UBI_SDK_TARGET_ESP32
17#include "driver/uart.h"
19#include "freertos/FreeRTOS.h"
20#include "freertos/task.h"
32 uint16_t rx_buffer_size;
35 uint16_t tx_buffer_size;
37 uart_config_t uart_config;
42}uart_init_port_struct;
49 TaskHandle_t ReceiveTask;
50 bool enableRecieverTask;
51 uart_init_port_struct* init_struct;
53 xSemaphoreHandle rx_task_semaphore;
54 uint32_t wait_time_ms;
56 int last_rx_delta_size;
61void uart_port_init(uart_init_port_struct* init_struct, uart_port_struct** out_port_struct);
ports_enum
Definition a_port.h:47