USB CPU specific definitions for the STM32 family. More...
USB CPU specific definitions for the STM32 family.
Definition in file cpu_usbdev.h.
Go to the source code of this file.
Data Structures | |
struct | stm32_usbdev_fs_config_t |
stm32 USB device FS configuration More... | |
#define | USBDEV_CPU_DMA_ALIGNMENT (4) |
USBDEV buffers must be word aligned because of DMA restrictions. | |
#define | USBDEV_CPU_DMA_REQUIREMENTS __attribute__((aligned(USBDEV_CPU_DMA_ALIGNMENT))) |
USBDEV buffer instantiation requirement. | |
Flags used in stm32_usbdev_fs_config_t | |
#define | STM32_USBDEV_FS_CONFIG_FLAG_DISCONN_INVERTED 0x01 |
Indicates that logic levels are inverted compared to a GPIO connected directly via a 1.5 kOhm resistor to the USB D+ signal. | |