dsp浮点实验三(编辑修改稿)内容摘要:
E_MODE 1 define CALCULATE_MODE 2 /* GLOBAL DECLARATIONS */ int mode。 // mode 1 = collecting data points. mode 2 = calculating FFT int data_count。 //ADC sample Counter int out_count。 //DAC Output Counter int window。 //control the window type float Windows[NUM_POINTS]。 //Windows /* Use this array for calculating the FFT, then copy result into data[] */ int tempdata[NUM_POINTS]。 float fdata[NUM_POINTS]。 /* array to convertg int points to floats */ float Magnitude[NUM_POINTS]。 /* The output data is stored here */ int OutputBuffer[NUM_POINTS]。 /* FUNCTION PROTOTYPES */ void main (void)。 void sample_codec( void )。 void init_codec( void )。 /**************************************************************************** ** Procedure: sample_codec() ** ** Arguments: None ** ** Returns: None ** ** Desc: Gets data in from the codec and sends the output buffer to the codec. ** If mode = SAMPLE_MODE, 128 consecutive samples are taken from the ** codec for calculating the FFT. ** ****************************************************************************/ void sample_codec( void ) { // Copy output buffers to transmit data buffers. user_tx_buf[LEFT_CHANL] = OutputBuffer[out_count]。 user_tx_buf[RIGHT_CHNL] = OutputBuffer[out_count]。 out_count++。 if(out_count=NUM_POINTS) out_count=0。 user_tx_buf[TAG] = DOUT_TAG。 user_tx_ready = 1。 /* Put this sample in the array if we39。 re in sample mode */ if( mode == SAMPLE_MODE ) { tempdata[data_count] = user_rx_buf[LEFT_CHANL]。 data_count++。 /* If we have 128 samples, stop sampling and calculate */ if( data_count = 256 ) { data_count = 0。 mode = CALCULATE_MODE。 } } } /**************************************************************************** ** ** Procedure: init_codec() ** ** Arguments: None ** ** Returns: None ** ** Desc: Turns on the codec interrupt then initializes the codec ** source and record gain. ** ****************************************************************************/ void init_codec( void ) { asm(include )。 interrupt(SIG_SPT1I,(void (*)(int)。dsp浮点实验三(编辑修改稿)
相关推荐
【教学难点】 了解动态网页的含义 【教学方式】 讲授式、项目模块式、演示教学 【教学参考】 《网页设计与制作》杨尚森 曲宏山 贾文峰等 著 电子工业 出版社 《 WEB 网站设计》 Joel Sklar 著 高等教育出版社 《 Dreamweaver 网页设计案例教程》白煜 编著 清华大学 出版社 《 Dreamweaver MX 2020 完美网页设计与制作》姜楠 编著 中国青年出版社
出现图 4 所示的网站配置情况。 下面逐一说明。 图 地址。 图 5 设置超级管理员的用户名,邮箱和密码 图 6 设置时区,简介链接和更新的通知,一般默认即可。 图 7 所示。 图 7,虽然有警告信息,但是那是 没有配置 mailsever的信息,因为我是在本地测试,所以 没有配置 ,因此出现警告。 下面出现了 “Congratulations, Drupal has been
美国 TI公司的 TMS320C54X就属于这一类。 2.按数据格式分 这是根据 DSP 芯片工作的数据格式来分类的。 数据以定点格式工作的 DSP 芯片称为 定点 DSP芯片,如 TI公司的 TMS320C1X/C2X、 TMS320C2XX/C5X、 TMS320C54X/C62XX系列, AD公司的 ADSP21XX系列, ATamp。 T公司的 DSP16/16A,
记录条数。 缺省数据格式 OID: 标准为不同的数据格式分配了对象标识( OID),前端将根据此处选择的数据格式装载所获取的数据。 缺省元素集名:前端将根据此处的选择,缺省装载相应的元素集。 注意,某些 服务器并未提供特定的元素集(比如 MARCXML、 DC等),即使前端选择了相应缺省元素集也是无效的。 在获取浏览记录阶段即获得全记录:记录浏览信息与全信息字节量有较大差别,所以
并关闭存档属性。 /D:mdy 复制在指定日期或指定日期以后更改的文件。 如果没有提供日期,只复制那些源时间 比目标时间新的文件。 /EXCLUDE:file1[+file2][+file3]... 指定含有字符串的文件列表。 每一个字符串 必须在文件的单独行中。 如果有任何 字符串与要被复制的文件的绝对路径 相符,那个文件将不会得到复制。 例如,指定如 \obj\ 或 .obj 的字符串会排除
令完成的复制未必能够启动机器。 能过 SYS 命令, DOS可以将目标盘已占据特定位置的文件移动,并将系统文件复制到相应位置上。 参数 C1:path 用来指明系统文件所在目录。 如不指明,则缺省为当前盘的当前目录。 所以这个命令一般要在源盘的根目录进行。 14) pass设定 DOS寻找 .COM、 .EXE、 .BAT 文件的所在目录 [格式 ] path=或 path [说明 ] 只打