usb_uart_bridge.h 202 B

12345678910111213
  1. #pragma once
  2. #include <stdint.h>
  3. typedef struct {
  4. uint8_t vcp_ch;
  5. uint8_t uart_ch;
  6. uint32_t baudrate;
  7. } UsbUartConfig;
  8. void usb_uart_enable(UsbUartConfig* cfg);
  9. void usb_uart_disable();