Location:
Search - Nu-LB_002
Search list
Description: Nuc1xx芯片 原理图资料及相关信息 很好很好-Nuc1xx chip schematic data and related information
Platform: |
Size: 14143488 |
Author: 孙宇 |
Hits:
Description: 设备:
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. Description: 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)
Platform: |
Size: 197632 |
Author: peter |
Hits: