17 #if defined( USB_PRESENT ) && ( USB_COUNT == 1 )
19 #if defined( USB_HOST )
61 USBH_CtlReceiveData( ep, 0 );
77 USBH_CtlSendSetup( ep );
80 USBHEP_TransferDone( ep, result );
88 USBH_CtlSendData( ep, 0 );
92 USBHEP_TransferDone( ep, result );
100 USBH_CtlReceiveData( ep, 0 );
104 USBHEP_TransferDone( ep, result );
111 USBHEP_TransferDone( ep, result );
130 USBHEP_TransferDone( ep, result );
159 ep->
xferred = hcs[ hcnum ].xferred;
162 hcs[ ep->
hcIn ].idle =
true;
163 hcs[ ep->
hcOut ].idle =
true;
177 hcs[ hcnum ].idle =
true;
178 ep->
xferred = hcs[ hcnum ].xferred;
#define USB_SETUP_DIR_D2H
void USBTIMER_Stop(uint32_t id)
Stop a timer.
USB protocol stack library API for EFM32/EZR32.
CMSIS Cortex-M Peripheral Access Layer for Silicon Laboratories microcontroller devices.
#define USB_SETUP_DIR_MASK
int(* USB_XferCompleteCb_TypeDef)(USB_Status_TypeDef status, uint32_t xferred, uint32_t remaining)
USB transfer callback function.
USB_Status_TypeDef
USB transfer status enumerator.
volatile bool xferCompleted
USB_Status_TypeDef xferStatus
USB protocol stack library API for EFM32/EZR32.
USB protocol stack library, low level USB peripheral access.
USB_XferCompleteCb_TypeDef xferCompleteCb
USB HOST endpoint status data.
USB protocol stack library, internal type definitions.
USBH_EpState_TypeDef state