初始版本

This commit is contained in:
2026-04-23 13:49:53 +08:00
parent c1d6ebd38c
commit ac718a463a
257 changed files with 265681 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
#ifndef ____HDL_USB_H_
#define ____HDL_USB_H_
#include "hc32_ll.h"
#include "hdl_clk.h"
#define USB_DP_PORT (GPIO_PORT_A)
#define USB_DP_PIN (GPIO_PIN_12)
#define USB_DM_PORT (GPIO_PORT_A)
#define USB_DM_PIN (GPIO_PIN_11)
#define USB_VBUS_PORT (GPIO_PORT_A)
#define USB_VBUS_PIN (GPIO_PIN_09)
#define USB_SOF_PORT (GPIO_PORT_A)
#define USB_SOF_PIN (GPIO_PIN_08)
void hdl_usb_init(void);
#endif