USBD ROM Stack
2.0
ROM based USB device stack
GIT
lpcopen_v3
lpcopen_version3
LPC43xx_18xx
lpc43xx_18xx
LPC_USBD_Lib
mw_usbd
usbd_cfg.h
1
/*----------------------------------------------------------------------------
2
* U S B - K e r n e l
3
**----------------------------------------------------------------------------
4
* Name: usbcfg.h
5
* Purpose: USB Custom Configuration
6
* Version: V1.20
7
**----------------------------------------------------------------------------
8
* This software is supplied "AS IS" without any warranties, express,
9
* implied or statutory, including but not limited to the implied
10
* warranties of fitness for purpose, satisfactory quality and
11
* noninfringement. Keil extends you a royalty-free right to reproduce
12
* and distribute executable files created using this software for use
13
* on NXP ARM microcontroller devices only. Nothing else gives
14
* you the right to use this software.
15
*
16
* Copyright (c) 2005-2009 Keil Software.
17
* Adaption to LPCxxxx, Copyright (c) 2009 NXP.
18
*----------------------------------------------------------------------------*/
19
20
#ifndef __USBCFG_H__
21
#define __USBCFG_H__
22
23
#define USB_MAX_IF_NUM 8
24
#define USB_MAX_EP_NUM 6
25
#define USB_MAX_PACKET0 64
26
/* Max In/Out Packet Size */
27
#define USB_FS_MAX_BULK_PACKET 64
28
#define USB_HS_MAX_BULK_PACKET 512
29
30
// #define DFU_BOOT_XFER_BLOCK_SIZE (2 * 1024)
31
// #define DFU_BOOT_MEM_BASE 0x20000000
32
// #define DFU_BOOT_MEM_SIZE 0x00001000
33
34
#endif
/* __USBCFG_H__ */
Generated on Thu Mar 15 2018 16:09:44 for USBD ROM Stack by
1.8.13