Files
6CAR/middleware/usb/uC-USBH/Cfg/Template/usbh_hc_cfg.c
2026-04-18 09:16:58 +08:00

104 lines
4.7 KiB
C

/*
*********************************************************************************************************
* uC/USB-Host
* The Embedded USB Host 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 HOST CONTROLLER CONFIGURATION FILE
*
* TEMPLATE
*
* Filename : usbh_hc_cfg.c
* Version : V3.42.01
*********************************************************************************************************
*/
/*
*********************************************************************************************************
* INCLUDE FILES
*********************************************************************************************************
*/
#define USBH_HC_CFG_MODULE
#define MICRIUM_SOURCE
#include "usbh_hc_cfg.h"
/*
*********************************************************************************************************
* LOCAL DEFINES
*********************************************************************************************************
*/
/*
*********************************************************************************************************
* LOCAL CONSTANTS
*********************************************************************************************************
*/
/*
*********************************************************************************************************
* LOCAL DATA TYPES
*********************************************************************************************************
*/
/*
*********************************************************************************************************
* LOCAL TABLES
*********************************************************************************************************
*/
/*
*********************************************************************************************************
* LOCAL GLOBAL VARIABLES
*********************************************************************************************************
*/
USBH_HC_CFG USBH_HC_TemplateCfg = {
(CPU_ADDR)0x00000000u, /* Base addr of host controller hw registers. */
(CPU_ADDR)0x00000000u, /* Base addr of host controller dedicated mem. */
0u, /* Size of host controller dedicated mem. */
DEF_ENABLED, /* Does HC can access sys mem? */
1024u, /* Data buf max len. */
2u, /* Max nbr opened bulk EP. */
2u, /* Max nbr opened intr EP. */
2u /* Max nbr opened isoc EP. */
};
/*
*********************************************************************************************************
* LOCAL FUNCTION PROTOTYPES
*********************************************************************************************************
*/
/*
*********************************************************************************************************
* LOCAL CONFIGURATION ERRORS
*********************************************************************************************************
*/
/*
*********************************************************************************************************
* MODULE END
*********************************************************************************************************
*/