usbdev_cfg_otg_fs.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2019 Koen Zandberg
3  * SPDX-License-Identifier: LGPL-2.1-only
4  */
5 
6 #pragma once
7 
18 #include "periph_cpu.h"
19 #include "usbdev_efm32.h"
20 #include "usbdev_synopsys_dwc2.h"
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
29 #define DWC2_USB_OTG_FS_ENABLED
30 
35  {
36  .periph = USB_OTG_FS_PERIPH_BASE,
37  .type = DWC2_USB_OTG_FS,
39  }
40 };
41 
45 #define USBDEV_NUMOF ARRAY_SIZE(dwc2_usb_otg_fshs_config)
46 
47 #ifdef __cplusplus
48 }
49 #endif
50 
USB OTG configuration.
uintptr_t periph
USB peripheral base address.
static const dwc2_usb_otg_fshs_config_t dwc2_usb_otg_fshs_config[]
Common USB OTG FS configuration.
Low level USB FS/HS driver definitions for MCUs with Synopsys DWC2 IP core.
@ DWC2_USB_OTG_PHY_BUILTIN
on-chip FS PHY
@ DWC2_USB_OTG_FS
Full speed peripheral.