variable.c
来自「atmel at89c51snd1c mp3芯片方案源码」· C语言 代码 · 共 34 行
C
34 行
#include "config.h" /* system definition */
data Byte gl_cpt_tick; /* general tick counter */
//bdata bit gl_key_repeat; /* set to TRUE if a key is repeated */
bdata bit gl_key_press; /* set to TRUE if a key is decoded */
Byte gl_key; /* value of the key pressed */
pdata Byte gl_buffer[GL_BUF_SIZE];
data Byte gl_pointer;
idata Byte play_pause;
idata Byte bass_nobass;
/*variables for media I/O function */
xdata Byte gl_media_buffer[512];
/* 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 */
Byte gl_media_select;
bit led_flush;
bdata bit disconnected;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?