sakumisu a8fb71bed7 update ep config hace 3 años
..
README.md e2afbf8e79 add ch32 dcd porting and ch32v307 cdc demo hace 4 años
usb_ch32_usbfs_reg.h 595548f548 update ch32 port and demo hace 4 años
usb_ch32_usbhs_reg.h 595548f548 update ch32 port and demo hace 4 años
usb_ch58x_reg.h 73333f95ba add nrf5x usb dev port and ch58x usb dev port hace 3 años
usb_dc_ch58x.c 73333f95ba add nrf5x usb dev port and ch58x usb dev port hace 3 años
usb_dc_usbfs.c a8fb71bed7 update ep config hace 3 años
usb_dc_usbhs.c a8fb71bed7 update ep config hace 3 años

README.md

Note

Support Chip List

  • all of CH chips with usb HD ip are supported, like CH57x、CH58x、CH32Vxxx、CH32Fxxx

Before Use

Your should implement usb_dc_low_level_init and usb_dc_low_level_deinit.

  • Enable or disable USB clock and set USB clock for 48M.
  • Enable or disable gpio and gpio clk for usb dp and dm.
  • Enable or disable usb irq