⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 buffers.asm

📁 dsp arm的很多讲义和说明。 关于怎样使用ccs bios以及matlab到dsp的代码转化
💻 ASM
字号:
/****************************************************************************
**                       $TITLE: BP-kernel xface$
** BUFFERS.ASM
** ---------
**    Links variables into the same locations the kernel uses so that
**    the demo can talk to the kernel to use its codec isr or output SWI
**    
**
****************************************************************************/
.GLOBAL _user_tx_buf;
.GLOBAL _user_tx_ready;
.GLOBAL _user_rx_buf;
.GLOBAL _user_rx_ready;
.GLOBAL _user_data_out_ptr; 
.GLOBAL _user_num_data;     
.GLOBAL _user_data_type;    

.SEGMENT/DM     seg_bnk3;
// make the buffers line up the same as in the kernel
.var _user_tx_buf[6];
.var _user_tx_ready;
.var _user_rx_buf[6];
.var _user_rx_ready;
.var _user_data_out_ptr;    //pointer to data to send to the host
.var _user_num_data;        //says how many data items there are
.var _user_data_type;       // 0 = ascii, 1 = decimal, 2 = hex

.ENDSEG;
    

⌨️ 快捷键说明

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