Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Main Page
Related Pages
Supported Boards
Modules
Namespaces
Namespace List
Namespace Members
All
Functions
Variables
Enumerations
Data Structures
Data Structures
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
w
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerator
Related Symbols
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
_
a
b
c
d
e
f
g
h
i
k
l
m
n
p
q
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
►
RIOT OS
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
cfg_usbdev_default.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2023 Gunar Schorcht <gunar@schorcht.net>
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
19
#ifndef CFG_USBDEV_DEFAULT_H
20
#define CFG_USBDEV_DEFAULT_H
21
22
#include "vendor/usbdev_gd32v.h"
23
#include "
usbdev_synopsys_dwc2.h
"
24
25
#ifdef __cplusplus
26
extern
"C"
{
27
#endif
28
36
#define DWC2_USB_OTG_FS_ENABLED
37
41
static
const
dwc2_usb_otg_fshs_config_t
dwc2_usb_otg_fshs_config
[] = {
42
{
43
.periph = USB_OTG_FS_PERIPH_BASE,
44
.type =
DWC2_USB_OTG_FS
,
45
.phy =
DWC2_USB_OTG_PHY_BUILTIN
,
46
.rcu_mask = RCU_AHBEN_USBFSEN_Msk,
47
.irqn = USBFS_IRQn,
48
.bus =
AHB
,
49
}
50
};
41
static
const
dwc2_usb_otg_fshs_config_t
dwc2_usb_otg_fshs_config
[] = {
…
};
51
55
#define USBDEV_NUMOF ARRAY_SIZE(dwc2_usb_otg_fshs_config)
58
#ifdef __cplusplus
59
}
60
#endif
61
62
#endif
/* CFG_USBDEV_DEFAULT_H */
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:41
AHB
@ AHB
Advanced High-performance Bus.
Definition
periph_cpu.h:78
dwc2_usb_otg_fshs_config_t
USB OTG configuration.
Definition
usbdev_synopsys_dwc2.h:80
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:72
DWC2_USB_OTG_FS
@ DWC2_USB_OTG_FS
Full speed peripheral.
Definition
usbdev_synopsys_dwc2.h:48
Generated on Tue Apr 8 2025 16:11:38 by
1.12.0