?? variable.c
字號(hào):
/*C**************************************************************************
* NAME: variable.c
*----------------------------------------------------------------------------
* Copyright (c) 2004 Leeyc.
*----------------------------------------------------------------------------
* RELEASE: kt-1.0
* REVISION: 1.0
*----------------------------------------------------------------------------
* PURPOSE:
* This file contains the definition of the global variables
*****************************************************************************/
/*_____ I N C L U D E S ____________________________________________________*/
#include "config.h" /* system definition */
//#include "modules\file\wav.h" /* wav file definition */
/*_____ M A C R O S ________________________________________________________*/
/*_____ D E F I N I T I O N ________________________________________________*/
xdata Byte LED_ON; /* LED On X X X X VOL BASS MED TREEB*/
xdata Byte LED_FAST; /* fast or slow or very slow led blinking */
bdata bit gl_key_press; /* set to TRUE if a key is decoded */
bdata bit gl_key_repeat; /* set to TRUE if a key is repeated */
idata Byte gl_key; /* value of the key pressed */
data Byte gl_kbd_tick; /* keyboard tick counter */
bdata bit gl_memory; /* selected memory */
bdata bit fs_memory; /* selected file system */
bdata bit gl_mem_failure; /* memory hardware failure */
data Uint32 gl_ptr_mem; /* memory data pointer */
data Byte gl_mem_tick; /* memory tick counter */
data Byte gl_cpt_tick; /* general tick counter */
data Byte gl_led_tick; /* Led blinking tick */
idata Uint16 gl_act_tick; /* Activity tick */
pdata Byte gl_buffer[GL_BUF_SIZE];
data Byte gl_pointer;
/* variables for SBC libraries */
bit gl_sbc_wr_protect; /* mass storage write protected */
bit gl_sbc_wr_busy; /* mass storage write in progress */
bit gl_sbc_rd_busy; /* mass storage read in progress */
/* const for SBC libraries */
//code Byte gl_sbc_vendor_id[8] = SBC_VENDOR_ID;
//code Byte gl_sbc_product_id[16] = SBC_PRODUCT_ID;
//code Byte gl_sbc_revision_id[4] = SBC_REVISION_ID;
/* Disk management */
bit reserved_disk_space = FALSE; /* reserved space for application on disk */
//code wav_struct gl_wav_header = WAV_HEADER;
data Byte mcr = 3;
/*_____ D E C L A R A T I O N ______________________________________________*/
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -