USB_HC_Init() function
Initialize a host channel
Arguments
USBx
Selected device
ch_num
Channel number This parameter can be a value from 1 to 15
epnum
Endpoint number This parameter can be a value from 1 to 15
dev_address
Current device address This parameter can be a value from 0 to 255
speed
Current device speed This parameter can be one of these values: @arg USB_OTG_SPEED_HIGH: High speed mode @arg USB_OTG_SPEED_FULL: Full speed mode @arg USB_OTG_SPEED_LOW: Low speed mode
ep_type
Endpoint Type This parameter can be one of these values: @arg EP_TYPE_CTRL: Control type @arg EP_TYPE_ISOC: Isochronous type @arg EP_TYPE_BULK: Bulk type @arg EP_TYPE_INTR: Interrupt type
mps
Max Packet Size This parameter can be a value from 0 to 32K
Return value
HAL state
Functions calling USB_HC_Init()
Functions called by USB_HC_Init()
USB_HC_Init()
Data read by USB_HC_Init()
Data written by USB_HC_Init()
USB_HC_Init()
Type of USB_HC_Init()
USB_HC_Init()
uint32_t all items filtered out