Hal Drivers for L4

Dependents:   BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo

Fork of STM32L4xx_HAL_Driver by Senior Design: Sound Monitor

Embed: (wiki syntax)

« Back to documentation index

USB_OTG_CfgTypeDef Struct Reference

USB_OTG_CfgTypeDef Struct Reference
[USB_Core]

PCD Initialization Structure definition. More...

#include <stm32l4xx_ll_usb.h>

Data Fields

uint32_t dev_endpoints
uint32_t Host_channels
uint32_t speed
uint32_t dma_enable
uint32_t ep0_mps
uint32_t phy_itface
uint32_t Sof_enable
uint32_t low_power_enable
uint32_t lpm_enable
uint32_t battery_charging_enable
uint32_t vbus_sensing_enable
uint32_t use_dedicated_ep1
uint32_t use_external_vbus

Detailed Description

PCD Initialization Structure definition.

Definition at line 104 of file stm32l4xx_ll_usb.h.


Field Documentation

Enable or disable Battery charging.

Definition at line 131 of file stm32l4xx_ll_usb.h.

uint32_t dev_endpoints

Device Endpoints number. This parameter depends on the used USB core. This parameter must be a number between Min_Data = 1 and Max_Data = 15

Definition at line 106 of file stm32l4xx_ll_usb.h.

uint32_t dma_enable

Enable or disable of the USB embedded DMA.

Definition at line 117 of file stm32l4xx_ll_usb.h.

uint32_t ep0_mps

Set the Endpoint 0 Max Packet size. This parameter can be any value of USB EP0 MPS

Definition at line 119 of file stm32l4xx_ll_usb.h.

uint32_t Host_channels

Host Channels number. This parameter Depends on the used USB core. This parameter must be a number between Min_Data = 1 and Max_Data = 15

Definition at line 110 of file stm32l4xx_ll_usb.h.

uint32_t low_power_enable

Enable or disable the low power mode.

Definition at line 127 of file stm32l4xx_ll_usb.h.

uint32_t lpm_enable

Enable or disable Battery charging.

Definition at line 129 of file stm32l4xx_ll_usb.h.

uint32_t phy_itface

Select the used PHY interface. This parameter can be any value of USB Core PHY

Definition at line 122 of file stm32l4xx_ll_usb.h.

uint32_t Sof_enable

Enable or disable the output of the SOF signal.

Definition at line 125 of file stm32l4xx_ll_usb.h.

uint32_t speed

USB Core speed. This parameter can be any value of USB Core Speed

Definition at line 114 of file stm32l4xx_ll_usb.h.

Enable or disable the use of the dedicated EP1 interrupt.

Definition at line 135 of file stm32l4xx_ll_usb.h.

Enable or disable the use of the external VBUS.

Definition at line 137 of file stm32l4xx_ll_usb.h.

Enable or disable the VBUS Sensing feature.

Definition at line 133 of file stm32l4xx_ll_usb.h.