更换语言:
   Contact us
  • Follow CooCox
  •         
  • CooCox Market
  •         
  • Tech Support
  •     
Home  › CoOS › Examples

Nuvoton NUC140VE3AN CAN Master Example Code for CoOS Free RTOS


Device:

Evaluation Board:

Complier:

Tasks:
task_init Initialize all the hardware ,Create all the flag and mutex in this application.
get_datab According to the ID data which received from the sub-machine to obtain the ID's database information.
update_db According to the consumption which received from the sub-machine to update the database information.
uart_print Print the the information in this application.

Descriptions:

This example simulates a punch card consumption sub-machine system. In the test, needs to dock with a punch card sub-machine system.

1. Obtain the ID's database information according to the ID data which received from the sub-machine.

2. Update the database information according to the consumption which received from the sub-machine.


System Configuration:
Clock Settings:
  • XTAL   freq         = 12.00 MHz
  • SYSCLK freq       = 12.00 MHz
  • System Tick freq = 100Hz (10ms)

Download File
Nuvoton NUC140VE3AN CAN Master Example Code for CoOS Free RTOS (using CoIDE V1.1.0)

CooCox CoOS

© 2009 -2011 CooCox - Terms of Use         Business Model         Market             About us