cdcuser.h
来自「深圳英蓓特公司LPC23XX开发板配套光盘示例程序。」· C头文件 代码 · 共 51 行
H
51 行
/*----------------------------------------------------------------------------
* U S B - K e r n e l
*----------------------------------------------------------------------------
* Name: CDCUSER.H
* Purpose: USB Communication Device Class User module Definitions
* Version: V1.00
*----------------------------------------------------------------------------
* This file is part of the uVision/ARM development tools.
* This software may only be used under the terms of a valid, current,
* end user licence from KEIL for a compatible version of KEIL software
* development tools. Nothing else gives you the right to use it.
*
* Copyright (c) 2005-2007 Keil Software.
*---------------------------------------------------------------------------*/
#ifndef __CDCUSER_H__
#define __CDCUSER_H__
/* CDC Data In/Out Endpoint Address */
#define CDC_DEP_IN 0x82
#define CDC_DEP_OUT 0x02
/* CDC Communication In Endpoint Address */
#define CDC_CEP_IN 0x81
/* CDC Requests Callback Functions */
extern BOOL CDC_SendEncapsulatedCommand (void);
extern BOOL CDC_GetEncapsulatedResponse (void);
extern BOOL CDC_SetCommFeature (WORD wFeatureSelector);
extern BOOL CDC_GetCommFeature (WORD wFeatureSelector);
extern BOOL CDC_ClearCommFeature (WORD wFeatureSelector);
extern BOOL CDC_GetLineCoding (void);
extern BOOL CDC_SetLineCoding (void);
extern BOOL CDC_SetControlLineState (WORD wControlSignalBitmap);
extern BOOL CDC_SendBreak (WORD wDurationOfBreak);
/* CDC Bulk Callback Functions */
extern void CDC_BulkIn (void);
extern void CDC_BulkOut (void);
/* CDC Notification Callback Function */
extern void CDC_NotificationIn (void);
/* CDC prepare the SERAIAL_STATE */
extern WORD CDC_GetSerialState (void);
extern WORD CDC_SerialState;
#endif /* __CDCUSER_H__ */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?