📄 cdcuser.h
字号:
/*----------------------------------------------------------------------------
* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -