globals2.c

来自「cy68013a USB2.0 highspeed mass storage s」· C语言 代码 · 共 31 行

C
31
字号
//-----------------------------------------------------------------------------
//   File:      globals2.c
//   Contents:   contains half of the global variables used by the firmware.  This is done
//               to give the linker flexibility.
//
//   indent 3.  NO TABS!
//
//   Copyright (c) 2001-2004 Cypress Semiconductor
//
// $Workfile: globals2.c $
// $Date: 3/30/05 2:38p $
// $Revision: 2 $
//-----------------------------------------------------------------------------
#include "fx2.h"
#include "fx2regs.h"
#include "gpif.h"
#include "atapi.h"
#include "globals.h"


WORD cbwTagLow;          // Tag from the most recent CBW packet
WORD cbwTagHi;
BYTE currentState;

DWORD dataTransferLen;
volatile BYTE seconds;
volatile BYTE hertz61ticks;



⌨️ 快捷键说明

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