/ * @brief USB Core initialization. * @param pCore: pointer of USB Device * @retval None ***********************************************************************************************************/
| 164 | * @retval None |
| 165 | ***********************************************************************************************************/ |
| 166 | void USBDCore_Init(USBDCore_TypeDef *pCore) |
| 167 | { |
| 168 | pCore->Info.CurrentStatus = USER_USB_STATE_POWERED; |
| 169 | API_USB_INIT(pCore->pDriver); |
| 170 | |
| 171 | /* Endpoint information initialisation */ |
| 172 | usbd_ept_init(pCore); |
| 173 | |
| 174 | return; |
| 175 | } |
| 176 | /*********************************************************************************************************//** |
| 177 | * @brief USB Core Main Routine for application. |
| 178 | * @param pCore: pointer of USB Device |
no test coverage detected