📄 upsd3400_upsd_usb.h
字号:
/*------------------------------------------------------------------------------
upsd3400_upsd_usb.h
Version:
March 22, 2005 - Version 1.0 - Initial Release.
Description: Header file for upsd3400_upsd_usb.C
Copyright (c) 2005 STMicroelectronics Inc.
This example demo code is provided as is and has no warranty,
implied or otherwise. You are free to use/modify any of the provided
code at your own risk in your applications with the expressed limitation
of liability (see below) so long as your product using the code contains
at least one uPSD product (device).
LIMITATION OF LIABILITY: NEITHER STMicroelectronics NOR ITS VENDORS OR
AGENTS SHALL BE LIABLE FOR ANY LOSS OF PROFITS, LOSS OF USE, LOSS OF DATA,
INTERRUPTION OF BUSINESS, NOR FOR INDIRECT, SPECIAL, INCIDENTAL OR
CONSEQUENTIAL DAMAGES OF ANY KIND WHETHER UNDER THIS AGREEMENT OR
OTHERWISE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
------------------------------------------------------------------------------*/
#ifndef UPSD3400_UPSD_USB_H
#define UPSD3400_UPSD_USB_H
extern void OnUsbReset();
extern void UsbInitialize();
extern void STALL_EP1();
extern void RemoteWakeup();
extern void OnUsbSuspend();
extern void OnUsbResume();
extern BOOL ReadSetupPacket();
extern void OnSetupPacket();
extern void TransmitEP0();
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -