Posted on November 14, 2014 at 20:26In usb_regs.h wrong bits are assigned for register OTG_FS_DOEPCTL0 or OTG_HS_DOEPCTL0 to the structer typedef union _USB_OTG_DEPCTL_TypeDef. Althought the names of bits are ok, their position doesn't match with wi...