Loading...
Searching...
No Matches
cpu_usbdev.h File Reference

USB CPU specific definitions for the STM32 family. More...

Detailed Description

USB CPU specific definitions for the STM32 family.

Author
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de
Vincent Dupont vince.nosp@m.nt@o.nosp@m.takey.nosp@m.s.co.nosp@m.m

Definition in file cpu_usbdev.h.

#include <stdint.h>
#include "periph/cpu_gpio.h"
+ Include dependency graph for cpu_usbdev.h:
+ This graph shows which files directly or indirectly include this file:

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.
 

Macro Definition Documentation

◆ USBDEV_CPU_DMA_ALIGNMENT

#define USBDEV_CPU_DMA_ALIGNMENT   (4)

USBDEV buffers must be word aligned because of DMA restrictions.

Definition at line 35 of file cpu_usbdev.h.

◆ USBDEV_CPU_DMA_REQUIREMENTS

#define USBDEV_CPU_DMA_REQUIREMENTS   __attribute__((aligned(USBDEV_CPU_DMA_ALIGNMENT)))

USBDEV buffer instantiation requirement.

Definition at line 40 of file cpu_usbdev.h.