/** * @brief Notify URB state change callback. * @param hhcd: HCD handle * @retval None */ void HAL_HCD_HC_NotifyURBChange_Callback(HCD_HandleTypeDef *hhcd, uint8_t chnum, HCD_URBStateTypeDef urb_state) { /* To be used with OS to sync URB state with the global state machine */ #if (USBH_USE_OS == 1) USBH_LL_NotifyURBChange(hhcd->pData); #endif }
/** * @brief Notify URB state change callback. * @param hhcd: HCD handle * @param chnum: Channel number * @param urb_state: URB State * @retval None */ void HAL_HCD_HC_NotifyURBChange_Callback(HCD_HandleTypeDef *hhcd, uint8_t chnum, HCD_URBStateTypeDef urb_state) { #if (USBH_USE_OS == 1) USBH_LL_NotifyURBChange(hhcd->pData); #endif }
/** * @brief Notify URB state change callback. * @param hpcd: HCD handle * @retval None */ void HAL_HCD_HC_NotifyURBChange_Callback(HCD_HandleTypeDef *hHCD, uint8_t chnum, HCD_URBStateTypeDef urb_state) { /* To be used with OS to sync URB state with the global state machine */ USBH_LL_NotifyURBChange(hHCD->pData); }