66 lines
3.3 KiB
C
66 lines
3.3 KiB
C
/*
|
|
*********************************************************************************************************
|
|
* uC/USB-Device
|
|
* The Embedded USB Device Stack
|
|
*
|
|
* Copyright 2004-2021 Silicon Laboratories Inc. www.silabs.com
|
|
*
|
|
* SPDX-License-Identifier: APACHE-2.0
|
|
*
|
|
* This software is subject to an open source license and is distributed by
|
|
* Silicon Laboratories Inc. pursuant to the terms of the Apache License,
|
|
* Version 2.0 available at www.apache.org/licenses/LICENSE-2.0.
|
|
*
|
|
*********************************************************************************************************
|
|
*/
|
|
|
|
/*
|
|
*********************************************************************************************************
|
|
*
|
|
* USB DEVICE CONFIGURATION FILE
|
|
*
|
|
* TEMPLATE
|
|
*
|
|
* Filename : usbd_dev_cfg.c
|
|
* Version : V4.06.01
|
|
*********************************************************************************************************
|
|
*/
|
|
|
|
#include <Source/usbd_core.h>
|
|
#include <usbd_dev_cfg.h>
|
|
#include <bsp_usbd_template.h>
|
|
|
|
|
|
/*
|
|
*********************************************************************************************************
|
|
* USB DEVICE CONFIGURATION
|
|
*********************************************************************************************************
|
|
*/
|
|
|
|
const USBD_DEV_CFG USBD_DevCfg_Template = {
|
|
0xFFFE, /* Vendor ID. */
|
|
0x1234, /* Product ID. */
|
|
0x0100, /* Device release number. */
|
|
"MICRIUM MANUFACTURER", /* Manufacturer string. */
|
|
"MICRIUM PRODUCT", /* Product string. */
|
|
"1234567890ABCDEF", /* Serial number string. */
|
|
USBD_LANG_ID_ENGLISH_US /* String language ID. */
|
|
};
|
|
|
|
|
|
/*
|
|
*********************************************************************************************************
|
|
* USB DEVICE DRIVER CONFIGURATION
|
|
*********************************************************************************************************
|
|
*/
|
|
|
|
const USBD_DRV_CFG USBD_DrvCfg_Template = {
|
|
0x00000000, /* Base addr of device controller hw registers. */
|
|
0x00000000, /* Base addr of device controller dedicated mem. */
|
|
0u, /* Size of device controller dedicated mem. */
|
|
|
|
USBD_DEV_SPD_FULL, /* Speed of device controller. */
|
|
|
|
USBD_DrvEP_InfoTbl_Template /* EP Info tbl of device controller. */
|
|
};
|