[OTG + Cube] Writing 0 to DIEPCTL/DOEPCTL.EPDIS
Posted on September 03, 2017 at 19:37In [STM32Cube_FW_F4_V1.16.0]\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_usb.c USB_EPSetStall(), the following can be seen:USBx_INEP(ep->num)->DIEPCTL &= ~(USB_OTG_DIEPCTL_EPDIS);(and the same for DOEPCTL).How...