usbdrv.h

来自「Windows CE操作系统中适用的蓝牙驱动程序」· C头文件 代码 · 共 52 行

H
52
字号
//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft end-user
// license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
// If you did not accept the terms of the EULA, you are not authorized to use
// this source code. For a copy of the EULA, please see the LICENSE.RTF on your
// install media.
//
/*++
THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
PARTICULAR PURPOSE.

Module Name:  

    usbdrv.h

Abstract:  

    USB definitions for Bluetooth

    
Functions:


Notes:

--*/

#ifndef _USBDRV_H_
#define _USBDRV_H_

//to be moved to usb100.h
#define USB_DEVICE_CLASS_WIRELESS_CONTROLLER		0xE0

#define USB_DEVICE_SUBCLASS_RFCONTROLLER			0x01
#define USB_DEVICE_PROTOCOL_BLUETOOTH				0x01


#ifdef DEBUG
// Debug zone defs
#define ZONE_INIT       DEBUGZONE(0)
#define ZONE_TRANSFER   DEBUGZONE(1)
#define ZONE_EVENTS     DEBUGZONE(2)
#define ZONE_ERROR      DEBUGZONE(15)
#endif


#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?