/**************************************************************************
* Copyright � 2004 Altera Corporation, San Jose, California, USA. *
* All rights reserved. All use of this software and documentation is *
* subject to the License Agreement located at the end of this file below.*
*************************************************************************/
/******************************************************************************
* DANGER ** WARNING ** Please read before proceeding! ** WARNING ** DANGER *
******************************************************************************
*
* This program is an example of a "free-standing" C application. If you
* modify this example and try to call C library functions such as printf, they
* will NOT work unless you explicitly initialize the system, such as in the
* hello_alt_main software template. Please see below for details.
*
* Description
* *************
* A very minimal program that simply shifts an LED back and forth.
*
* Requirements
* **************
* According to the ANSI C standard, freestanding programs "own" the hardware,
* and cannot rely on system-services or device-drivers being initialized prior
* to program-start. A freestanding program is responsible for initializing all
* hardware devices, device-drivers, and system-services. Many embedded
* programs are, by nature, freestanding. The author relinquishes any illusion
* of running their program on a workstation.
*
* This example is a freestanding program because it's entry point is the
* function:
*
* void alt_main (void)
*
* As opposed to "main()" as a "hosted" application would (see the
* "hello_world" example).
*
* Upon entry to alt_main():
* - The CPU's caches (if any) have been initialized.
* - The stack-pointer has been set.
* - That's all. The rest is up to you.
*
* If you modify this example and try to call C library functions such as
* printf, they will NOT work unless you explicitly initialize the system.
* If you wish to use C library calls, it is strongly suggested you start
* with the hosted hello_world template which uses main() as it's entry
* point.
*
* On the other hand, if you want to write a program that gets-in even
* earlier, you will need to provide your own assembly-language machine-setup
* code by defining the symbol "_start". Any definition of _start in your
* directory will override the library definition. You can find source code
* for the Nios II library _start here:
*
* <NiosII-Kit-Install-Dir>/components/altera_nios2/HAL/src/crt0.S
*
* This software example requires a system with a PIO peripheral named
* "led_pio". The software example will run on the following hardware
* examples:
*
* Nios Development Board, Stratix II Edition:
* - Standard
* - Small
* - Full Featured
*
* DSP Development Board, Stratix II Edition:
* - Standard
* - Small
* - Full Featured
*
* Nios Development Board, Stratix Edition:
* - Standard
* - Small
* - Full Featured
*
* Nios Development Board, Stratix Professional Edition:
* - Standard
* - Small
* - Full Featured
*
* Nios Development Board, Cyclone Edition:
* - Standard
* - Small
* - Low Cost
* - Full Featured
*
* Peripherals Exercised by SW
* *****************************
* The hello_led.c program simply shifts an 8-bit variable back and forth,
* writing the variable's value to the system's LED PIO peripheral on every
* iteration.
*
* Software Files
* ****************
* hello_led.c - Main C file that contains the simple led manipulation routine.
*
*/
没有合适的资源?快使用搜索试试~ 我知道了~
基于DE2的MP3音乐播放器
共900个文件
o:98个
d:98个
v:67个
4星 · 超过85%的资源 需积分: 50 115 下载量 150 浏览量
2011-07-17
19:21:20
上传
评论 9
收藏 2.83MB RAR 举报
温馨提示
该代码主要基于Altera DE2 FPGA开发平台,通过读取存储在SD卡中的音频文件,实现音乐播放,读者还可以在此基础上没进一步扩展其功能,希望大家喜欢……
资源推荐
资源详情
资源评论
收起资源包目录
基于DE2的MP3音乐播放器 (900个子文件)
DE2_Board.ptf.5.00 69KB
00042c5f6820001c11d1b0e15082ddb5 4KB
000cf29f6820001c11d1b0e15082ddb5 0B
00363c666520001c1ab0cb934ca9bd39 2KB
003bd3656520001c1ab0cb934ca9bd39 180B
004fa0666520001c1ab0cb934ca9bd39 7KB
005437666520001c1ab0cb934ca9bd39 6KB
005cca5e6820001c11d1b0e15082ddb5 197B
00752e5f6820001c11d1b0e15082ddb5 6KB
007ac55e6820001c11d1b0e15082ddb5 2KB
007df49f6820001c11d1b0e15082ddb5 0B
00acd5656520001c1ab0cb934ca9bd39 2KB
00c0a2666520001c1ab0cb934ca9bd39 2KB
00c539666520001c1ab0cb934ca9bd39 2KB
00d2635e6820001c11d1b0e15082ddb5 2KB
00de9d666520001c1ab0cb934ca9bd39 5KB
00e6305f6820001c11d1b0e15082ddb5 5KB
00ebc75e6820001c11d1b0e15082ddb5 2KB
01042c5f6820001c11d1b0e15082ddb5 5KB
01363c666520001c1ab0cb934ca9bd39 6KB
014fa0666520001c1ab0cb934ca9bd39 5KB
015437666520001c1ab0cb934ca9bd39 90B
015cca5e6820001c11d1b0e15082ddb5 2KB
017ac55e6820001c11d1b0e15082ddb5 4KB
01acd5656520001c1ab0cb934ca9bd39 2KB
01c0a2666520001c1ab0cb934ca9bd39 5KB
01de9d666520001c1ab0cb934ca9bd39 5KB
01e6305f6820001c11d1b0e15082ddb5 6KB
01ebc75e6820001c11d1b0e15082ddb5 5KB
100a35666520001c1ab0cb934ca9bd39 1KB
100fcc656520001c1ab0cb934ca9bd39 94B
102399666520001c1ab0cb934ca9bd39 2KB
1030c35e6820001c11d1b0e15082ddb5 128B
10355a5e6820001c11d1b0e15082ddb5 3KB
1049275f6820001c11d1b0e15082ddb5 2KB
1080ce656520001c1ab0cb934ca9bd39 1KB
10949b666520001c1ab0cb934ca9bd39 3KB
109932666520001c1ab0cb934ca9bd39 5KB
10a65c5e6820001c11d1b0e15082ddb5 3KB
10b296666520001c1ab0cb934ca9bd39 4KB
10ba295f6820001c11d1b0e15082ddb5 7KB
10bfc05e6820001c11d1b0e15082ddb5 2KB
10d8245f6820001c11d1b0e15082ddb5 13KB
10f1d0656520001c1ab0cb934ca9bd39 6KB
110fcc656520001c1ab0cb934ca9bd39 2KB
112399666520001c1ab0cb934ca9bd39 2KB
1130c35e6820001c11d1b0e15082ddb5 2KB
11355a5e6820001c11d1b0e15082ddb5 452KB
1149275f6820001c11d1b0e15082ddb5 5KB
11949b666520001c1ab0cb934ca9bd39 2KB
119932666520001c1ab0cb934ca9bd39 4KB
11b296666520001c1ab0cb934ca9bd39 2KB
11ba295f6820001c11d1b0e15082ddb5 5KB
11bfc05e6820001c11d1b0e15082ddb5 5KB
1249275f6820001c11d1b0e15082ddb5 5KB
2004bc5e6820001c11d1b0e15082ddb5 2KB
201d205f6820001c11d1b0e15082ddb5 8KB
204f30666520001c1ab0cb934ca9bd39 3KB
2054c7656520001c1ab0cb934ca9bd39 2KB
206894666520001c1ab0cb934ca9bd39 749B
206d2b666520001c1ab0cb934ca9bd39 96B
2075be5e6820001c11d1b0e15082ddb5 4KB
2089bea76520001c1ab0cb934ca9bd39 0B
208e225f6820001c11d1b0e15082ddb5 19KB
2093b95e6820001c11d1b0e15082ddb5 2KB
20a7865f6820001c11d1b0e15082ddb5 0B
20c5c9656520001c1ab0cb934ca9bd39 94B
20de2d666520001c1ab0cb934ca9bd39 104B
20e3c4656520001c1ab0cb934ca9bd39 2KB
20eb575e6820001c11d1b0e15082ddb5 287B
20fac0a76520001c1ab0cb934ca9bd39 0B
2104bc5e6820001c11d1b0e15082ddb5 3KB
211d205f6820001c11d1b0e15082ddb5 3KB
214f30666520001c1ab0cb934ca9bd39 5KB
2154c7656520001c1ab0cb934ca9bd39 4KB
216894666520001c1ab0cb934ca9bd39 4KB
216d2b666520001c1ab0cb934ca9bd39 821B
2175be5e6820001c11d1b0e15082ddb5 5KB
218e225f6820001c11d1b0e15082ddb5 4KB
2193b95e6820001c11d1b0e15082ddb5 3KB
21c5c9656520001c1ab0cb934ca9bd39 2KB
21de2d666520001c1ab0cb934ca9bd39 912B
21e3c4656520001c1ab0cb934ca9bd39 4KB
226894666520001c1ab0cb934ca9bd39 3KB
302329666520001c1ab0cb934ca9bd39 2KB
3028c0656520001c1ab0cb934ca9bd39 4KB
303c8d666520001c1ab0cb934ca9bd39 1KB
304124666520001c1ab0cb934ca9bd39 3KB
3049b75e6820001c11d1b0e15082ddb5 3KB
30621b5f6820001c11d1b0e15082ddb5 12KB
3067b25e6820001c11d1b0e15082ddb5 2KB
307d18136520001c1ab0cb934ca9bd39 0B
3099c2656520001c1ab0cb934ca9bd39 2KB
30b226666520001c1ab0cb934ca9bd39 2KB
30cb8a666520001c1ab0cb934ca9bd39 5KB
30d31d5f6820001c11d1b0e15082ddb5 8KB
30f1185f6820001c11d1b0e15082ddb5 5KB
312329666520001c1ab0cb934ca9bd39 4KB
3128c0656520001c1ab0cb934ca9bd39 5KB
313c8d666520001c1ab0cb934ca9bd39 5KB
共 900 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9
特洛伊
- 粉丝: 2
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
- 4
前往页