?? mainloop.h
字號:
/*
//*************************************************************************
//
// P H I L I P S P R O P R I E T A R Y
//
// COPYRIGHT (c) 1999 BY PHILIPS SINGAPORE.
// -- ALL RIGHTS RESERVED --
//
// File Name: MAINLOOP.H
// Created: Oct. 12 2000
// Modified:
// Revision: 1.01
//
//*************************************************************************
//
//*************************************************************************
*/
#ifndef __MAINLOOP_H__
#define __MAINLOOP_H__
#include "BasicTyp.h"
#define MAX_STANDARD_REQUEST 0x0D
#define MAX_CLASS_REQUEST 0x01
#define MAX_VENDOR_REQUEST 0x0f
/*
//*************************************************************************
// USB utility functions
//*************************************************************************
*/
void SetupToken_Handler(void);
void DeviceRequest_Handler(void);
void help_devreq(UCHAR type, UCHAR req);
void on_exit(void);
void disconnect_USB(void);
void connect_USB(void);
void reconnect_USB(void);
void config_endpoint(void);
void suspend_change(void);
//suspend
void wakeup_change(void);
void bus_reset(void);
//ww
void check_key_LED(void);
void ML_AcknowledgeSETUP(void);
void ML_StallEP0(void);
void ML_ClearBufferEP0(void); // setup clear buffer, find bugs here that control IN without clear setup buffer the
// handshake outtoken still can be received. (maybe the data length is zero?)
void ML_Reserved(void);
// added to reuse D12 driver and test software
void setup_dma(void);
void setup_io(void);
void D13_config_DMA(void);
//void RdWrSram(void);
//march1
void EnableDMA4ISO(void);
void ISOLOOP(UCHAR bOUTEPIndex, UCHAR bINEPIndex, USHORT len);
#define ISO_IN 0x01
#define ISO_OUT 0x02
#define ISO_LOOP 0x04
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -