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

文件名称:NUC140_CAN_Master_CoOS

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

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

设备:

Nuvoton NUC140VE3AN



评估板:

Nu-LB_002 Rev2.0



编译器:

CoIDE V1.1.0



任务:

task_init  初始化目标板的资源,并创建其它任务,然后自我删除并退出调度。

get_datab  根据从子机接收到的ID数据,获得该ID的数据库信息。

update_db  等待输入消费金额,然后通过CAN发送消费金额到主机。

uart_print  打印余额。



描述:

本例子模拟了一个打卡消费系统的子机。在测试时,需要和一个打卡消费系统的主机对接:

1. 利用串口输入模拟打卡动作,利用AD输入模拟消费金额的输入动作。

2. 和主机通讯成功后,子机会显示此时插入卡的余额、消费状态和消费后余额。



系统配置:

时钟设置:

XTAL freq = 12.00 MHz

SYSCLK freq = 12.00 MHz

System Tick freq = 100Hz (10ms)-Equipment: Nuvoton NUC140VE3AN evaluation board: Nu-LB_002 Rev2.0 compiler: CoIDE V1.1.0 task: task_init initialize the target board resources, and create other tasks, and then self-delete and exit scheduling. get_datab according to the ID of the data received from the sub-machine, access to the ID database information. update_db waiting for input the amount of consumption, the consumption amount to the host and then be sent via CAN. uart_print Print balance. Descr iption: This example simulates a punch card consumer' s handset. Test and the butt of a punch card the consumption system' s host: 1 serial input analog punch action, take advantage of the AD the input analog spend the input action. 2 and host communication is successful, the child the opportunity to insert the card balance, consumption status and post-consumer balance. System configuration: clock settings: XTAL freq = 12.00 MHz SYSCLK freq = 12.00 MHz System Tick freq = 100Hz (10ms)
(系统自动生成,下载前可以参看下载内容)

下载文件列表

NUC140_can_CoOS_master/
NUC140_can_CoOS_master/.cproject
NUC140_can_CoOS_master/.project
NUC140_can_CoOS_master/AppConfig.c
NUC140_can_CoOS_master/AppConfig.h
NUC140_can_CoOS_master/build.xml
NUC140_can_CoOS_master/cmsis_boot/
NUC140_can_CoOS_master/cmsis_boot/NUC1xx.h
NUC140_can_CoOS_master/cmsis_boot/startup/
NUC140_can_CoOS_master/cmsis_boot/startup/startup_NUC1xx.c
NUC140_can_CoOS_master/cmsis_boot/system_NUC1xx.c
NUC140_can_CoOS_master/cmsis_boot/system_NUC1xx.h
NUC140_can_CoOS_master/cmsis_core/
NUC140_can_CoOS_master/cmsis_core/core_cm0.c
NUC140_can_CoOS_master/cmsis_core/core_cm0.h
NUC140_can_CoOS_master/cmsis_lib/
NUC140_can_CoOS_master/cmsis_lib/Include/
NUC140_can_CoOS_master/cmsis_lib/Include/Driver/
NUC140_can_CoOS_master/cmsis_lib/Include/Driver/DrvADC.h
NUC140_can_CoOS_master/cmsis_lib/Include/Driver/DrvCAN.h
NUC140_can_CoOS_master/cmsis_lib/Include/Driver/DrvCMP.h
NUC140_can_CoOS_master/cmsis_lib/Include/Driver/DrvFMC.h
NUC140_can_CoOS_master/cmsis_lib/Include/Driver/DrvGPIO.h
NUC140_can_CoOS_master/cmsis_lib/Include/Driver/DrvI2C.h
NUC140_can_CoOS_master/cmsis_lib/Include/Driver/DrvI2S.h
NUC140_can_CoOS_master/cmsis_lib/Include/Driver/DrvPDMA.h
NUC140_can_CoOS_master/cmsis_lib/Include/Driver/DrvPS2.h
NUC140_can_CoOS_master/cmsis_lib/Include/Driver/DrvPWM.h
NUC140_can_CoOS_master/cmsis_lib/Include/Driver/DrvRTC.h
NUC140_can_CoOS_master/cmsis_lib/Include/Driver/DrvSPI.h
NUC140_can_CoOS_master/cmsis_lib/Include/Driver/DrvSYS.h
NUC140_can_CoOS_master/cmsis_lib/Include/Driver/DrvTimer.h
NUC140_can_CoOS_master/cmsis_lib/Include/Driver/DrvUART.h
NUC140_can_CoOS_master/cmsis_lib/Include/System/
NUC140_can_CoOS_master/cmsis_lib/Include/System/ModuleID.h
NUC140_can_CoOS_master/cmsis_lib/Include/System/SysInfra.h
NUC140_can_CoOS_master/cmsis_lib/Source/
NUC140_can_CoOS_master/cmsis_lib/Source/Driver/
NUC140_can_CoOS_master/cmsis_lib/Source/Driver/DrvADC.c
NUC140_can_CoOS_master/cmsis_lib/Source/Driver/DrvCAN.c
NUC140_can_CoOS_master/cmsis_lib/Source/Driver/DrvCMP.c
NUC140_can_CoOS_master/cmsis_lib/Source/Driver/DrvFMC.c
NUC140_can_CoOS_master/cmsis_lib/Source/Driver/DrvGPIO.c
NUC140_can_CoOS_master/cmsis_lib/Source/Driver/DrvI2C.c
NUC140_can_CoOS_master/cmsis_lib/Source/Driver/DrvI2S.c
NUC140_can_CoOS_master/cmsis_lib/Source/Driver/DrvPDMA.c
NUC140_can_CoOS_master/cmsis_lib/Source/Driver/DrvPS2.c
NUC140_can_CoOS_master/cmsis_lib/Source/Driver/DrvPWM.c
NUC140_can_CoOS_master/cmsis_lib/Source/Driver/DrvRTC.c
NUC140_can_CoOS_master/cmsis_lib/Source/Driver/DrvSPI.c
NUC140_can_CoOS_master/cmsis_lib/Source/Driver/DrvSYS.c
NUC140_can_CoOS_master/cmsis_lib/Source/Driver/DrvTimer.c
NUC140_can_CoOS_master/cmsis_lib/Source/Driver/DrvUART.c
NUC140_can_CoOS_master/CoOS/
NUC140_can_CoOS_master/CoOS/Document/
NUC140_can_CoOS_master/CoOS/Document/readme.txt
NUC140_can_CoOS_master/CoOS/kernel/
NUC140_can_CoOS_master/CoOS/kernel/coocox.h
NUC140_can_CoOS_master/CoOS/kernel/CoOS.h
NUC140_can_CoOS_master/CoOS/kernel/core.c
NUC140_can_CoOS_master/CoOS/kernel/event.c
NUC140_can_CoOS_master/CoOS/kernel/flag.c
NUC140_can_CoOS_master/CoOS/kernel/hook.c
NUC140_can_CoOS_master/CoOS/kernel/kernelHeap.c
NUC140_can_CoOS_master/CoOS/kernel/mbox.c
NUC140_can_CoOS_master/CoOS/kernel/mm.c
NUC140_can_CoOS_master/CoOS/kernel/mutex.c
NUC140_can_CoOS_master/CoOS/kernel/OsConfig.h
NUC140_can_CoOS_master/CoOS/kernel/OsCore.h
NUC140_can_CoOS_master/CoOS/kernel/OsError.h
NUC140_can_CoOS_master/CoOS/kernel/OsEvent.h
NUC140_can_CoOS_master/CoOS/kernel/OsFlag.h
NUC140_can_CoOS_master/CoOS/kernel/OsKernelHeap.h
NUC140_can_CoOS_master/CoOS/kernel/OsMM.h
NUC140_can_CoOS_master/CoOS/kernel/OsMutex.h
NUC140_can_CoOS_master/CoOS/kernel/OsQueue.h
NUC140_can_CoOS_master/CoOS/kernel/OsServiceReq.h
NUC140_can_CoOS_master/CoOS/kernel/OsTask.h
NUC140_can_CoOS_master/CoOS/kernel/OsTime.h
NUC140_can_CoOS_master/CoOS/kernel/OsTimer.h
NUC140_can_CoOS_master/CoOS/kernel/queue.c
NUC140_can_CoOS_master/CoOS/kernel/sem.c
NUC140_can_CoOS_master/CoOS/kernel/serviceReq.c
NUC140_can_CoOS_master/CoOS/kernel/task.c
NUC140_can_CoOS_master/CoOS/kernel/time.c
NUC140_can_CoOS_master/CoOS/kernel/timer.c
NUC140_can_CoOS_master/CoOS/kernel/utility.c
NUC140_can_CoOS_master/CoOS/kernel/utility.h
NUC140_can_CoOS_master/CoOS/portable/
NUC140_can_CoOS_master/CoOS/portable/arch.c
NUC140_can_CoOS_master/CoOS/portable/GCC/
NUC140_can_CoOS_master/CoOS/portable/GCC/port.c
NUC140_can_CoOS_master/CoOS/portable/OsArch.h
NUC140_can_CoOS_master/debug.config
NUC140_can_CoOS_master/link.ld
NUC140_can_CoOS_master/main.c
NUC140_can_CoOS_master/memory.ld
NUC140_can_CoOS_master/NUC140_can_CoOS_master.cob
NUC140_can_CoOS_master/stdio/
NUC140_can_CoOS_master/stdio/printf.c
NUC140_can_CoOS_master/syscalls/
NUC140_can_CoOS_master/syscalls/syscalls.c

相关说明

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

相关评论

暂无评论内容.

发表评论

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