variable.c

来自「这是atmel公司的89C51SND1C的mp3源程序」· C语言 代码 · 共 48 行

C
48
字号
/*C**************************************************************************
* $RCSfile: variable.c,v $
*----------------------------------------------------------------------------
* Copyright (c) 2002 Atmel.
*----------------------------------------------------------------------------
* RELEASE:      $Name: DEMO_FAT_1_2_5 $      
* REVISION:     $Revision: 1.3 $     
* FILE_CVSID:   $Id: variable.c,v 1.3 2002/06/06 15:33:00 ffosse Exp $       
*----------------------------------------------------------------------------
* PURPOSE:
* This file contains the definition of the global variables
*****************************************************************************/

 
/*_____ I N C L U D E S ____________________________________________________*/

#include "config.h"                         /* system definition */
#include "..\file\wav.h"                    /* wav file definition */


/*_____ M A C R O S ________________________________________________________*/


/*_____ D E F I N I T I O N ________________________________________________*/

bdata   bit     gl_kbd_lock;            /* set to TRUE if keyboard locked */
bdata   bit     gl_key_press;           /* set to TRUE if a key is decoded */
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     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_wa_tick;             /* work around tick counter */
data    Byte    gl_cpt_tick;            /* general tick counter */

pdata   Byte    gl_buffer[GL_BUF_SIZE];
data    Byte    gl_pointer;

code    wav_struct  gl_wav_header = WAV_HEADER;



/*_____ D E C L A R A T I O N ______________________________________________*/

⌨️ 快捷键说明

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