HAL
USB_SetDevSpeed() is only used within HAL.
 
Symbols
loading...
Files
loading...

USB_SetDevSpeed() function

USB_SetDevSpeed Initializes the DevSpd field of DCFG register depending the PHY type and the enumeration speed of the device.

Syntax

HAL_StatusTypeDef USB_SetDevSpeed(const USB_OTG_GlobalTypeDef *USBx,     uint8_t speed);
Implemented in stm32f4xx_ll_usb.c:553

Arguments

USBx

Selected device

speed

device speed This parameter can be one of these values: @arg USB_OTG_SPEED_HIGH: High speed mode @arg USB_OTG_SPEED_HIGH_IN_FULL: High speed core in Full Speed mode @arg USB_OTG_SPEED_FULL: Full speed mode

Return value

Hal status

Call Tree

Functions calling USB_SetDevSpeed()
all items filtered out
USB_SetDevSpeed()
Data read by USB_SetDevSpeed()
Data written by USB_SetDevSpeed()
USB_SetDevSpeed()
all items filtered out
Type of USB_SetDevSpeed()
USB_SetDevSpeed()
uint32_t
all items filtered out