CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 嵌入式/单片机编程 单片机(51,AVR,MSP430等)

文件名称:AT91SAM3U4E-CoBuilder0.7

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2012-11-16
  • 文件大小:
    249.94kb
  • 已下载:
    0次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

设备:

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/
app/main.c
at91lib/
at91lib/boards/
at91lib/boards/at91sam3u-ek/
at91lib/boards/at91sam3u-ek/at91sam3u4/
at91lib/boards/at91sam3u-ek/at91sam3u4/AT91SAM3U4.h
at91lib/boards/at91sam3u-ek/at91sam3u4/chip.h
at91lib/boards/at91sam3u-ek/at91sam3u4/chip.mak
at91lib/boards/at91sam3u-ek/at91sam3u4/flash.lds
at91lib/boards/at91sam3u-ek/at91sam3u4/flash.sct
at91lib/boards/at91sam3u-ek/at91sam3u4/sram.lds
at91lib/boards/at91sam3u-ek/at91sam3u4/sram.sct
at91lib/boards/at91sam3u-ek/board.h
at91lib/boards/at91sam3u-ek/board.mak
at91lib/boards/at91sam3u-ek/board_cstartup_gnu.c
at91lib/boards/at91sam3u-ek/board_lowlevel.c
at91lib/boards/at91sam3u-ek/board_lowlevel.h
at91lib/boards/at91sam3u-ek/board_memories.c
at91lib/boards/at91sam3u-ek/board_memories.h
at91lib/boards/at91sam3u-ek/exceptions.c
at91lib/boards/at91sam3u-ek/exceptions.h
at91lib/components/
at91lib/components/hx8347/
at91lib/components/hx8347/hx8347.c
at91lib/components/hx8347/hx8347.h
at91lib/drivers/
at91lib/drivers/lcd/
at91lib/drivers/lcd/color.h
at91lib/drivers/lcd/draw.h
at91lib/drivers/lcd/draw_hx8347.c
at91lib/drivers/lcd/font.c
at91lib/drivers/lcd/font.h
at91lib/drivers/lcd/font10x14.h
at91lib/drivers/lcd/lcdd.h
at91lib/drivers/lcd/lcdd_hx8347.c
at91lib/external_libs/
at91lib/external_libs/cmsis/
at91lib/external_libs/cmsis/core_cm3.c
at91lib/external_libs/cmsis/core_cm3.h
at91lib/peripherals/
at91lib/peripherals/dbgu/
at91lib/peripherals/dbgu/dbgu.c
at91lib/peripherals/dbgu/dbgu.h
at91lib/peripherals/irq/
at91lib/peripherals/irq/irq.h
at91lib/peripherals/irq/nvic.c
at91lib/peripherals/pio/
at91lib/peripherals/pio/pio.c
at91lib/peripherals/pio/pio.h
at91lib/peripherals/pio/pio_it.c
at91lib/peripherals/pio/pio_it.h
at91lib/peripherals/pmc/
at91lib/peripherals/pmc/pmc.c
at91lib/peripherals/pmc/pmc.h
at91lib/peripherals/systick/
at91lib/peripherals/systick/systick.c
at91lib/peripherals/systick/systick.h
at91lib/peripherals/tc/
at91lib/peripherals/tc/tc.c
at91lib/peripherals/tc/tc.h
at91lib/utility/
at91lib/utility/assert.h
at91lib/utility/led.c
at91lib/utility/led.h
at91lib/utility/stdio.c
at91lib/utility/trace.h
AT91SAM3U4E-CoBuilder0.7.cob
build.xml
CoOS/
CoOS/Document/
CoOS/Document/CooCox CoOS's TERMS AND CONDITIONS.pdf
CoOS/Document/readme.txt
CoOS/kernel/
CoOS/kernel/coocox.h
CoOS/kernel/CoOS.h
CoOS/kernel/core.c
CoOS/kernel/event.c
CoOS/kernel/flag.c
CoOS/kernel/hook.c
CoOS/kernel/kernelHeap.c
CoOS/kernel/mbox.c
CoOS/kernel/mm.c
CoOS/kernel/mutex.c
CoOS/kernel/OsConfig.h
CoOS/kernel/OsCore.h
CoOS/kernel/OsError.h
CoOS/kernel/OsEvent.h
CoOS/kernel/OsFlag.h
CoOS/kernel/OsKernelHeap.h
CoOS/kernel/OsMM.h
CoOS/kernel/OsMutex.h
CoOS/kernel/OsQueue.h
CoOS/kernel/OsServiceReq.h
CoOS/kernel/OsTask.h
CoOS/kernel/OsTime.h
CoOS/kernel/OsTimer.h
CoOS/kernel/queue.c
CoOS/kernel/sem.c
CoOS/kernel/serviceReq.c
CoOS/kernel/task.c
CoOS/kernel/time.c
CoOS/kernel/timer.c
CoOS/kernel/utility.c
CoOS/kernel/utility.h
CoOS/portable/
CoOS/portable/arch.c
CoOS/portable/GCC/
CoOS/portable/GCC/port.c
CoOS/portable/OsArch.h
link.ld
memory.ld
Project/
Project/at91sam3_flash.lds
Project/Makefile
Project/readme.txt
readme.txt

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com