blackmagic-esp32-s2/main/usb-cdc.h

14 lines
214 B
C
Raw Normal View History

2021-10-14 09:04:00 +01:00
#pragma once
2021-11-30 04:38:57 +00:00
/**
* Init usb subsystem
*/
2021-10-14 09:30:43 +01:00
void usb_cdc_init(void);
2021-10-17 15:06:53 +01:00
2021-11-30 04:38:57 +00:00
/**
* Send data
* @param buffer data
* @param size data size
* @param flush
*/
void usb_cdc_send(uint8_t* buffer, size_t size, bool flush);