📄 ucls_prn.h
字号:
/*
//*************************************************************************
//
// P H I L I P S P R O P R I E T A R Y
//
// COPYRIGHT (c) 2000 BY PHILIPS SINGAPORE.
// -- ALL RIGHTS RESERVED --
//
// File Name: UCls_Prn.H
// Author: ZhenYu Zhang
// Created: Jun. 8, 2000
// Contact: hilbert.zhang@philips.com
// Modified:
// Revision: 0.0
//
//*************************************************************************
// Abstract:
//
//*************************************************************************
*/
#ifndef __USBCLASS_PRN_H__
#define __USBCLASS_PRN_H__
#define USBPRNXFER_DEV 0x00
#define USBPRNXFER_INTERFACE 0x01
#define USBPRN_REQUEST_GET_DEVID 0x00
#define USBPRN_REQUEST_GET_PORT_STATUS 0x01
#define USBPRN_REQUEST_SOFT_RESET 0x02
/***********************************************************/
BOOLEAN UsbPrnCls_GetDeviceID(
UCHAR DevAddr,
UCHAR Speed,
UCHAR PktSize,
USHORT ConfigIndex,
USHORT Interface,
USHORT wLength
);
BOOLEAN UsbPrnCls_GetPortStatus(
UCHAR DevAddr,
UCHAR Speed,
UCHAR PktSize,
USHORT Interface
);
BOOLEAN UsbPrnCls_SoftReset(
UCHAR DevAddr,
UCHAR Speed,
UCHAR PktSize,
USHORT Interface
);
void USBClass_print(SHORT hFile);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -