added UsbDataHandler

This commit is contained in:
2024-02-02 02:44:38 +01:00
parent f0387d9e80
commit d3b5d5b047
5 changed files with 191 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#ifndef USBDATAHANDLER_H
#define USBDATAHANDLER_H
#include "usbd_cdc_if.h"
#ifdef __cplusplus
extern "C" {
#endif
void UsbDataHandler_Start(void);
USBD_StatusTypeDef UsbDataHandler_RxCallback(uint8_t* Buf, uint32_t Len);
#ifdef __cplusplus
}
#endif
#endif /* USBDATAHANDLER_H */