?? mainloop.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 --
//
// Project: ISP1581 EVA board
// File Name: MAINLOOOP.H
// Author: Qian Jiang
// Created: Sept. 1, 2000
// Modified:
// Revision: 0.0
//
//*************************************************************************
*/
#ifndef __MAINLOOP_H__
#define __MAINLOOP_H__
#include "BasicTyp.h"
//***************************************************************************
#define DMA_BUFFER_SIZE 64000
// **************************************************************************
//*************************************************************************
// USB utility functions
//*************************************************************************
void Initialize(void);
void on_exit(void);
void Device_Initiate(void);
void Reconnect(void);
void SetupToken_Handler(void);
void init_port(void);
void DeviceRequest_Handler(void);
void help_devreq(UCHAR type, UCHAR req);
void disconnect_USB(void);
void connect_USB(void);
void reconnect_USB(void);
void suspend_change(void);
void ML_Reserved(void);
void Sample_INT(void);
typedef struct _GLOBE_VARIABLE {
unsigned short maxepsize_bulk;
unsigned short ioOUTSize ;
unsigned short ioOUTCount ;
unsigned short ioINSize;
unsigned short ioINCount;
unsigned short isoOUTSize;
unsigned short isoOUTCount;
unsigned short isoINSize;
unsigned short isoINCount;
unsigned short isa_dma_counterset;
unsigned short isp1581_dma_counterset_lowbyte;
unsigned short scantransfer_length_odd;
unsigned short xfer_dir;
unsigned short burst_mode;
unsigned char bmAttributes;
} GLOBE_VARIABLE, *PGLOBE_VARIABLE;
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -