📄 str91x_usb_cfg.h
字号:
/*************************************************************************
*
* Used with ICCARM and AARM.
*
* (c) Copyright IAR Systems 2006
*
* File name : str91x_usb_cfg.h
* Description : USB definitions
*
* History :
* 1. Date : October 2, 2006
* Author : Stanimir Bonev
* Description : Create
*
* $Revision: 16170 $
**************************************************************************/
#include "includes.h"
#ifndef __STR91X_USB_CFG_H
#define __STR91X_USB_CFG_H
#define USB_EXT_CLK 0 // External 48MHz clock
#define USB_CONN_CTRL 1 // Enable software control of USB connection (wake-up resistor)
/* USB Events */
#define USB_SOF_EVENT 0
#define USB_ERROR_EVENT 0 // for debug
#define USB_HIGH_PRIORITY_EVENT 1 // ISO and Double buffered bulk
#define USB_DOVR_EVENT 0 // for speed up retransfer
/* Endpoint definitions */
#define Ep0MaxSize 8
#define ReportEp UsbEp1In
#define ReportEpMaxSize 3
#define MaxIndOfRealizeEp 1
#define MaxIndOfRealizeEp 1
/* Other definitions */
#define USB_REMOTE_WAKEUP 1
#endif //__STR91X_USB_CFG_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -