usb驱动

This commit is contained in:
sc committed 2026-01-03 23:12:23 +08:00
1 parent 313fb91321
commit c52f1f665f
22 files changed
+5601 -112

No files matched your search

@@ -130,6 +130,7 @@ struct uhcd_ops
int (*pipe_xfer) (upipe_t pipe, rt_uint8_t token, void* buffer, int nbytes, int timeout);
rt_err_t (*open_pipe) (upipe_t pipe);
rt_err_t (*close_pipe) (upipe_t pipe);
rt_err_t (*set_address) (rt_uint8_t dev_addr);
};
typedef struct uhcd_ops* uhcd_ops_t;
struct uhcd