Add USB CDC and loop-back test
This commit is contained in:
commit
7234eb8360
34 changed files with 15808 additions and 0 deletions
11
stm32f103c8t6/src/usb_vendor.h
Normal file
11
stm32f103c8t6/src/usb_vendor.h
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#pragma once
|
||||
|
||||
#include "usb.h"
|
||||
|
||||
typedef enum
|
||||
{
|
||||
USB_VENDOR_COMMAND_NOP = 0x00,
|
||||
} USBVendor_Command_t;
|
||||
|
||||
void USBVendor_HandleDeviceSetup(USB_SetupPacket_t *sp,
|
||||
const void **reply_data, int *reply_length, uint8_t *reply_response);
|
||||
Loading…
Add table
Add a link
Reference in a new issue