Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
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
17
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
34
static
const
dwc2_usb_otg_fshs_config_t
dwc2_usb_otg_fshs_config
[] = {
35
{
36
.periph = USB_OTG_FS_PERIPH_BASE,
37
.type =
DWC2_USB_OTG_FS
,
38
.phy =
DWC2_USB_OTG_PHY_BUILTIN
,
39
}
40
};
41
45
#define USBDEV_NUMOF ARRAY_SIZE(dwc2_usb_otg_fshs_config)
46
47
#ifdef __cplusplus
48
}
49
#endif
50
dwc2_usb_otg_fshs_config
static const dwc2_usb_otg_fshs_config_t dwc2_usb_otg_fshs_config[]
Common USB OTG FS configuration.
Definition
cfg_usbdev_default.h:37
dwc2_usb_otg_fshs_config_t
USB OTG configuration.
Definition
usbdev_synopsys_dwc2.h:79
usbdev_synopsys_dwc2.h
Low level USB FS/HS driver definitions for MCUs with Synopsys DWC2 IP core.
DWC2_USB_OTG_PHY_BUILTIN
@ DWC2_USB_OTG_PHY_BUILTIN
on-chip FS PHY
Definition
usbdev_synopsys_dwc2.h:71
DWC2_USB_OTG_FS
@ DWC2_USB_OTG_FS
Full speed peripheral.
Definition
usbdev_synopsys_dwc2.h:47
Generated on Mon Sep 15 2025 13:46:10 by
1.13.2