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
* Copyright (C) 2019 Koen Zandberg
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 USBDEV_CFG_OTG_FS_H
20
#define USBDEV_CFG_OTG_FS_H
21
22
#include "periph_cpu.h"
23
#include "usbdev_efm32.h"
24
#include "
usbdev_synopsys_dwc2.h
"
25
26
#ifdef __cplusplus
27
extern
"C"
{
28
#endif
29
33
#define DWC2_USB_OTG_FS_ENABLED
34
38
static
const
dwc2_usb_otg_fshs_config_t
dwc2_usb_otg_fshs_config
[] = {
39
{
40
.
periph
= USB_OTG_FS_PERIPH_BASE,
41
.type =
DWC2_USB_OTG_FS
,
42
.phy =
DWC2_USB_OTG_PHY_BUILTIN
,
43
}
44
};
45
49
#define USBDEV_NUMOF ARRAY_SIZE(dwc2_usb_otg_fshs_config)
50
51
#ifdef __cplusplus
52
}
53
#endif
54
55
#endif
/* USBDEV_CFG_OTG_FS_H */
dwc2_usb_otg_fshs_config_t
USB OTG configuration.
Definition
usbdev_synopsys_dwc2.h:80
dwc2_usb_otg_fshs_config_t::periph
uintptr_t periph
USB peripheral base address.
Definition
usbdev_synopsys_dwc2.h:81
dwc2_usb_otg_fshs_config
static const dwc2_usb_otg_fshs_config_t dwc2_usb_otg_fshs_config[]
Common USB OTG FS configuration.
Definition
usbdev_cfg_otg_fs.h:38
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 Sat Nov 16 2024 08:08:27 by
1.9.8