?? main.h
字號:
#ifndef main_h
#define main_h
#include "type.h"
#define decintreg 0x2
#define USBINT 0x10
#define SYSSTAT1 (*(volatile int *)(0x280004))
#define SYSSTAT0 (*(volatile int *)(0x280003))
#define SYSCNTL2 (*(volatile int *)(0x280001))
#define SYSCNTL1 (*(volatile int *)(0x280000))
#define WDOG (*(volatile int *)(0x280010))
/* external variables */
char desctbl[];
/* global variables */
BYTE irqValue; /* interrupt register value */
BYTE setupBuff[8]; /* setup transaction buffer */
BOOL sx2Ready; /* status byte for POST */
BOOL sx2BusActivity; /* status byte for suspend */
BOOL sx2EnumOK; /* status byte for enumeration complete */
BOOL sx2EP0Buf; /* status for endpoint 0 buffer */
BOOL sx2Setup; /* setup flag set in Int0() ISR */
BOOL readFlag;
BOOL FLAGS_READ; /* FIFO的狀態讀請求*/
BOOL buffer_halffull;
BOOL buffer_full;
/* global variables specific to this test firmware */
extern unsigned char keepAliveCnt; /* counter of Timer0 interrupts */
HANDLE codec_command;
HANDLE codec_data;
unsigned int FifoWriteCnt;
unsigned int epdatar[512];
unsigned int epdataw[512];
unsigned int epdataw1[256];
/* MCBSP接收緩沖區 */
unsigned int codecdat[0x400];
/* DMA變量聲明 */
BOOL buffer_halffull = False;
BOOL buffer_full = False;
BOOL buffer_halffull1 = False;
BOOL buffer_full1 = False;
unsigned int dma_count = 0;
unsigned int dma_count1 = 0;
#endif
//******************************************************************************//
// No more
//******************************************************************************//
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -