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

Common configuration for EFM32 OTG FS peripheral. More...

Detailed Description

Common configuration for EFM32 OTG FS peripheral.

Author
Koen Zandberg koen@.nosp@m.berg.nosp@m.zand..nosp@m.net

Definition in file usbdev_cfg_otg_fs.h.

#include "periph_cpu.h"
#include "usbdev_efm32.h"
#include "usbdev_synopsys_dwc2.h"
+ Include dependency graph for usbdev_cfg_otg_fs.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

#define DWC2_USB_OTG_FS_ENABLED
 Enable the full speed USB OTG peripheral.
 
#define USBDEV_NUMOF   ARRAY_SIZE(dwc2_usb_otg_fshs_config)
 Number of available USB OTG peripherals.
 
static const dwc2_usb_otg_fshs_config_t dwc2_usb_otg_fshs_config []
 Common USB OTG FS configuration.
 

Macro Definition Documentation

◆ DWC2_USB_OTG_FS_ENABLED

#define DWC2_USB_OTG_FS_ENABLED

Enable the full speed USB OTG peripheral.

Definition at line 33 of file usbdev_cfg_otg_fs.h.

◆ USBDEV_NUMOF

#define USBDEV_NUMOF   ARRAY_SIZE(dwc2_usb_otg_fshs_config)

Number of available USB OTG peripherals.

Definition at line 49 of file usbdev_cfg_otg_fs.h.

Variable Documentation

◆ dwc2_usb_otg_fshs_config

const dwc2_usb_otg_fshs_config_t dwc2_usb_otg_fshs_config[]
static
Initial value:
= {
{
.periph = USB_OTG_FS_PERIPH_BASE,
.type = DWC2_USB_OTG_FS,
}
}
@ DWC2_USB_OTG_PHY_BUILTIN
on-chip FS PHY
@ DWC2_USB_OTG_FS
Full speed peripheral.

Common USB OTG FS configuration.

Definition at line 38 of file usbdev_cfg_otg_fs.h.