Com_usb_cdc.h 438 B

12345678910111213141516
  1. #ifndef __COM_USB_CDC_H
  2. #define __COM_USB_CDC_H
  3. #include <stdint.h>
  4. #define COM_USB_TX_BUFFER_SIZE 2048
  5. #define COM_USB_RX_BUFFER_SIZE 512
  6. #define COM_USB_SEND_TASK_PRIORITY 3
  7. #define COM_USB_SEND_TASK_STACK 512
  8. void Com_usb_cdc_init(void);
  9. void Com_usb_cdc_rx_handler(uint8_t *buf, uint32_t len);
  10. uint32_t Com_usb_cdc_read(uint8_t *buf, uint32_t len);
  11. uint32_t Com_usb_cdc_bytes_available(void);
  12. #endif /* __COM_USB_CDC_H */