文件名称:AT91SAM3U4E-CoBuilder0.7
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 250kb
- 下载次数:
- 0次
- 提 供 者:
- pe***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
设备:
Atmel ATSAM3U4E
评估板:
Atmel SAM3U-EK
编译器:
CoBuilder V0.7 或 CoIDE V1.0.0
任务:
lightTask 每间隔1秒钟,处理所有灯的显示
lightLedTask 当主干道上的交通灯状态改变时,改变3个LED的状态
lcdBlinkyTask 在LCD以直方图的形式上交替地显示红黄绿色
uartprintfTask 每间隔1秒钟,通过串口打印当前的交通状态和LED的闪烁状态
描述:
该示例实现了一个简单的十字路*通灯控制器。
1. 主干道和分支干道上各有一组红绿蓝灯来控制交通。它们在LCD上面的显示如下所示:
主干道 绿灯(30s -- 5s) 黄灯(4s -- 0) 红灯(20s -- 0) 绿灯(30s -- 5s) ...
支干道 红灯(30s -- 0) 绿灯(20s -- 5s) 黄灯(4s -- 0) 红灯(30s -- 0) ...
2. 评估板上面的3个LED将显示主干道上交通灯的状态。3个LED与交通灯的对应关系如下:
LED0->红灯
LED1->绿灯
LED2->黄灯
3. 串口将打印当前的交通状态和每秒钟LED的闪烁状态。
系统配置:
system clock: 48MHz
system ticks: 1KHz(1ms)-The example implements a simple crossroads traffic light controller.
On the main roads and branch roads have a set of red, green and blue lights to control traffic. LCD display above is as follows:
Main road green light (30s- 5s) yellow (4s- 0) red light (20s-) the green light (30s- 5s) ...
The branch roads red light (30s- 0) the green light (20s- 5s) yellow (4s- 0) red light (30s- 0) ...
2. Evaluation board above three LED displays the state of the traffic lights on the main road. 3 LED traffic lights corresponding relationship is as follows:
LED0-> red light
LED1-> green light
LED2-> yellow
Serial port will print the current traffic status and second LED flashing.
Atmel ATSAM3U4E
评估板:
Atmel SAM3U-EK
编译器:
CoBuilder V0.7 或 CoIDE V1.0.0
任务:
lightTask 每间隔1秒钟,处理所有灯的显示
lightLedTask 当主干道上的交通灯状态改变时,改变3个LED的状态
lcdBlinkyTask 在LCD以直方图的形式上交替地显示红黄绿色
uartprintfTask 每间隔1秒钟,通过串口打印当前的交通状态和LED的闪烁状态
描述:
该示例实现了一个简单的十字路*通灯控制器。
1. 主干道和分支干道上各有一组红绿蓝灯来控制交通。它们在LCD上面的显示如下所示:
主干道 绿灯(30s -- 5s) 黄灯(4s -- 0) 红灯(20s -- 0) 绿灯(30s -- 5s) ...
支干道 红灯(30s -- 0) 绿灯(20s -- 5s) 黄灯(4s -- 0) 红灯(30s -- 0) ...
2. 评估板上面的3个LED将显示主干道上交通灯的状态。3个LED与交通灯的对应关系如下:
LED0->红灯
LED1->绿灯
LED2->黄灯
3. 串口将打印当前的交通状态和每秒钟LED的闪烁状态。
系统配置:
system clock: 48MHz
system ticks: 1KHz(1ms)-The example implements a simple crossroads traffic light controller.
On the main roads and branch roads have a set of red, green and blue lights to control traffic. LCD display above is as follows:
Main road green light (30s- 5s) yellow (4s- 0) red light (20s-) the green light (30s- 5s) ...
The branch roads red light (30s- 0) the green light (20s- 5s) yellow (4s- 0) red light (30s- 0) ...
2. Evaluation board above three LED displays the state of the traffic lights on the main road. 3 LED traffic lights corresponding relationship is as follows:
LED0-> red light
LED1-> green light
LED2-> yellow
Serial port will print the current traffic status and second LED flashing.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
.cproject
.project
app
...\main.c
at91lib
.......\boards
.......\......\at91sam3u-ek
.......\......\............\at91sam3u4
.......\......\............\..........\AT91SAM3U4.h
.......\......\............\..........\chip.h
.......\......\............\..........\chip.mak
.......\......\............\..........\flash.lds
.......\......\............\..........\flash.sct
.......\......\............\..........\sram.lds
.......\......\............\..........\sram.sct
.......\......\............\board.h
.......\......\............\board.mak
.......\......\............\board_cstartup_gnu.c
.......\......\............\board_lowlevel.c
.......\......\............\board_lowlevel.h
.......\......\............\board_memories.c
.......\......\............\board_memories.h
.......\......\............\exceptions.c
.......\......\............\exceptions.h
.......\components
.......\..........\hx8347
.......\..........\......\hx8347.c
.......\..........\......\hx8347.h
.......\drivers
.......\.......\lcd
.......\.......\...\color.h
.......\.......\...\draw.h
.......\.......\...\draw_hx8347.c
.......\.......\...\font.c
.......\.......\...\font.h
.......\.......\...\font10x14.h
.......\.......\...\lcdd.h
.......\.......\...\lcdd_hx8347.c
.......\external_libs
.......\.............\cmsis
.......\.............\.....\core_cm3.c
.......\.............\.....\core_cm3.h
.......\peripherals
.......\...........\dbgu
.......\...........\....\dbgu.c
.......\...........\....\dbgu.h
.......\...........\irq
.......\...........\...\irq.h
.......\...........\...\nvic.c
.......\...........\pio
.......\...........\...\pio.c
.......\...........\...\pio.h
.......\...........\...\pio_it.c
.......\...........\...\pio_it.h
.......\...........\pmc
.......\...........\...\pmc.c
.......\...........\...\pmc.h
.......\...........\systick
.......\...........\.......\systick.c
.......\...........\.......\systick.h
.......\...........\tc
.......\...........\..\tc.c
.......\...........\..\tc.h
.......\utility
.......\.......\assert.h
.......\.......\led.c
.......\.......\led.h
.......\.......\stdio.c
.......\.......\trace.h
AT91SAM3U4E-CoBuilder0.7.cob
build.xml
CoOS
....\Document
....\........\CooCox CoOS's TERMS AND CONDITIONS.pdf
....\........\readme.txt
....\kernel
....\......\coocox.h
....\......\CoOS.h
....\......\core.c
....\......\event.c
....\......\flag.c
....\......\hook.c
....\......\kernelHeap.c
....\......\mbox.c
....\......\mm.c
....\......\mutex.c
....\......\OsConfig.h
....\......\OsCore.h
....\......\OsError.h
....\......\OsEvent.h
....\......\OsFlag.h
....\......\OsKernelHeap.h
....\......\OsMM.h
....\......\OsMutex.h
....\......\OsQueue.h
....\......\OsServiceReq.h
....\......\OsTask.h
....\......\OsTime.h
....\......\OsTimer.h
....\......\queue.c
.project
app
...\main.c
at91lib
.......\boards
.......\......\at91sam3u-ek
.......\......\............\at91sam3u4
.......\......\............\..........\AT91SAM3U4.h
.......\......\............\..........\chip.h
.......\......\............\..........\chip.mak
.......\......\............\..........\flash.lds
.......\......\............\..........\flash.sct
.......\......\............\..........\sram.lds
.......\......\............\..........\sram.sct
.......\......\............\board.h
.......\......\............\board.mak
.......\......\............\board_cstartup_gnu.c
.......\......\............\board_lowlevel.c
.......\......\............\board_lowlevel.h
.......\......\............\board_memories.c
.......\......\............\board_memories.h
.......\......\............\exceptions.c
.......\......\............\exceptions.h
.......\components
.......\..........\hx8347
.......\..........\......\hx8347.c
.......\..........\......\hx8347.h
.......\drivers
.......\.......\lcd
.......\.......\...\color.h
.......\.......\...\draw.h
.......\.......\...\draw_hx8347.c
.......\.......\...\font.c
.......\.......\...\font.h
.......\.......\...\font10x14.h
.......\.......\...\lcdd.h
.......\.......\...\lcdd_hx8347.c
.......\external_libs
.......\.............\cmsis
.......\.............\.....\core_cm3.c
.......\.............\.....\core_cm3.h
.......\peripherals
.......\...........\dbgu
.......\...........\....\dbgu.c
.......\...........\....\dbgu.h
.......\...........\irq
.......\...........\...\irq.h
.......\...........\...\nvic.c
.......\...........\pio
.......\...........\...\pio.c
.......\...........\...\pio.h
.......\...........\...\pio_it.c
.......\...........\...\pio_it.h
.......\...........\pmc
.......\...........\...\pmc.c
.......\...........\...\pmc.h
.......\...........\systick
.......\...........\.......\systick.c
.......\...........\.......\systick.h
.......\...........\tc
.......\...........\..\tc.c
.......\...........\..\tc.h
.......\utility
.......\.......\assert.h
.......\.......\led.c
.......\.......\led.h
.......\.......\stdio.c
.......\.......\trace.h
AT91SAM3U4E-CoBuilder0.7.cob
build.xml
CoOS
....\Document
....\........\CooCox CoOS's TERMS AND CONDITIONS.pdf
....\........\readme.txt
....\kernel
....\......\coocox.h
....\......\CoOS.h
....\......\core.c
....\......\event.c
....\......\flag.c
....\......\hook.c
....\......\kernelHeap.c
....\......\mbox.c
....\......\mm.c
....\......\mutex.c
....\......\OsConfig.h
....\......\OsCore.h
....\......\OsError.h
....\......\OsEvent.h
....\......\OsFlag.h
....\......\OsKernelHeap.h
....\......\OsMM.h
....\......\OsMutex.h
....\......\OsQueue.h
....\......\OsServiceReq.h
....\......\OsTask.h
....\......\OsTime.h
....\......\OsTimer.h
....\......\queue.c