文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > 小学教育 > 英语 > 三年级英语 > HI-TECH PICC 项目实例 mp3
侵权投诉

HI-TECH PICC 项目实例 mp3

HI-TECH PICC 项目实例

TheMP3PlayerProject

AlexOlson12/03/2002

1Objective

Todesignandbuildanmp3playercapableofplaying lesfromanIDEharddrive.ModernharddrivescanstorefarmoredatacomparedtocurrentlyavailableCompactFlashmemorycards.Althoughthereareafewcommerciallyavailableplayersthatplayfromaharddrive,Iwantedtomakemyown.IwantedtobeabletoaddwhateverfeaturesIsaw t.

2

2.1

Theory&Design

MP3Format

StoringmusicintheMP3formatisusefulbecausethisformatrecordshigh- delityaudioinabout1/10ththespacenormallyrequiredforuncompressedaudio.Thealgorithmfordecodingandplayingmp3sisfairlycomplex.ThereareafewchipscurrentlyavailablethancanconvertaMP3datastreamintoanalogaudio.Mostofthemconsistofstreamingdatatotheminaserialmanner,andtheyoutputanalogaudio(fordrivingheadphones).IchosetheVLSI1001k,madebyVLSISolutions.Ithastwosynchronousserialbuses:onefordata,oneforcontrol.Italsohasa2Kbytebu erandaDataRequestlinethatitassertswhenitcanacceptatleastof32bytesofdata.Toplayasong,allthatisneededisto rstresetthedevice(bysendingacertainsequencedownthecontrolbus,andsenddatain32byteblocks(aslongastherequestlineishighatthebeginningofeachblock).ThereisaBSYNCsignalthatshouldberaisedbeforethe rstbitofeverybyte.ThepurposeoftheBSYNCsignalisthatensuresproperbitalignmentismaintained.Thereareafewregistersthatcanbeaccessedwiththecontrolbus.Theyprovideinfosuchastimeelapsed,bit-rateinformation,mono/stereo,etc.Onlythetimeelapsedisusedinmyproject.

2.2IDEHarddrives

IDEharddrivesweredesignedtohaveasimple,cheapinterface.Theyfunctioncompletelyasynchronously.Allrequiredlogicforphysicallycontrollingthedriveisbuilt-inoneachharddrive.Theinterfacemerelyhandlesthedatagoingin/out.Thereareasetof8-bitregisterssuchasSectorNumber,SectorCount,Command,Status,Error,CylinderHigh,CylinderLow,Drive/Headetc.Thereareabout14registersthataredividedintotwoblocks:theCommandBlockandtheControlblock.Therearetwoenablelinesfortheharddrive,oneforeachregisterblock.Itisnotvalidtoenablebothregisterlinessimultaneously.AllregisterslistedareintheCommandBlock;theotherregistersintheControlBlockarerarelyusedandarenotnecessaryforbasicoperations.ThereisalsooneDataregisterthatis16bitswideintheCommandBlock.Basically,alltransactionsareinitiatedby rstcheckingtheStatusregistertoseeiftheharddriveisnotbusy.Toreadorwritetotheharddrive’sregisters,theharddriveis rstselectedandtheneithertheDIORorDIOWlineisassertedtoindicateareadorwrite,respectively.Thisissomewhatdi erentthanmanyother

1

第1页

你可能喜欢

热门文档

相关文档

  • PICC使用说明(包括编程实例)

    二、选用编译器: 1、新建一个项目,编辑项目对话框的“Language Tool Suite”栏目默认是“Microchip”, 它改为“HI-TECH PICC”。 2、在项目文件框里点“flasha...

  • NOTE2-支持最新的HI_TECH PICC编译器的破解

    NOTE2-支持最新的HI_TECH PICC编译器的破解_电子/电路_工程科技_专业资料。支持最新的HI_TECH PICC编译器的破解NOTE2-支持最新的 HI_TECH PICC 编译器的...

  • HI-TECH PICC 国外资料 c18_prog

    HI-TECH PICC 国外资料 c18_prog_幼儿读物_幼儿教育_教育专区。HI-TECH ... HI-TECH PICC 项目实例 ...1/2 相关文档推荐 HI-TECH PICC 国外资料 24...

  • Hi-Tech PIC-C语言编程

    工具挂接完成后,在建立项目时可以选择语言工具为“HI-TECH PICC” ,具体步骤可以 参阅第三章 3.1.3 节,此处不再重复。项目建立完成后可以加入 C 或汇编原程序...

  • PICC编程基础

    创建你的项目文件:(假如你实现用EDIT编辑好了一个叫AA.C的C代码文件) Project... HI-TECH PICC C 的使用说... 9页 免费 PIC单片机C语言编程实例 12页 ...

  • 第二章 HI-TECH PICC C语言介绍

    第二章 HI-TECH PICC C语言介绍_工学_高等教育_教育专区。适用于高校 PIC16... 休闲农庄项目可行性研究报告 2014年建筑幕墙建筑装饰行业分析报告...

  • hi-tech

    hi-tech_工程科技_专业资料。Hi-tech co., LTD LOGO Hi-tech Research ... 第二章 HI-TECH PICC C语... 75页 1下载券 HI-TECH C PRO编译器(PI....

  • PICC编译器资料

    工具挂接完成后,在建立项目时可以选择语言工具为“HI-TECH PICC” ,具体步骤...一个变量绝对定 位的例子如下:张明峰 2004-4-7 于上海 7 of 26 unsigned ...

  • PICC软件下载安装及使用方法

    在项目名中填入项目名称,在项目保存路径中 选择好路径(注意必须跟第 1 步中 ...选择 Project---》 Set Language Tool Laction 菜单, 展开 HI-TECH PICC Toolsui...

  • MP3播放器项目汇报-120306

    MP3播放器项目汇报-120306_总结/汇报_实用文档。...HI-FI数字信号处理内核,40毫瓦大功率输出,录音电平...

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email