文件名称:NUC_M0516_CoOS

  • 所属分类:
  • 单片机(51,AVR,MSP430等)
  • 资源属性:
  • [C/C++] [源码]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 164kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • pe***
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

设备:

Nuvoton M0516LAN



评估板:

Nu-LB_004 Rev1.0



编译器:

CoIDE V1.1.3



任务:

task_init  初始化所有的硬件,创建所有的事件标志和互斥体。

show_3led  显示3色发光二极管。

show_lcd  显示SPI 液晶屏 。

led_blink  闪烁8个发光二极管。



描述:

1. 系统每隔一定时间采样AD值,并在LCD上显示. 可以通过评估板上面的变阻器来调整AD转换的输入电压值, 你可以通过LCD的显示看到变化。

2. 8个发光二极管和一个三色发光二极管将不停的闪烁。

3. 蜂鸣器将根据AD采样的值来发出声音。

系统配置:

最大用户任务:10

使能互斥体(CFG_MUTEX_EN)和软件定时器。

时钟设置:

XTAL freq = 12.00 MHz

SYSCLK freq = 48.00 MHz

System Tick freq = 100Hz (10ms)-Equipment: Nuvoton M0516LAN evaluation board: Nu-LB_004 Rev1.0 compiler: CoIDE V1.1.3 task: task_init initialize all the hardware, create event flag and mutex. show_3led display 3-color light-emitting diode. show_lcd SPI LCD. led_blink flashing 8 light-emitting diode. Descr iption: 1. System at regular intervals sampling AD value is displayed on the LCD. Evaluation board above the rheostat to adjust the AD converter input voltage value, you can see the changes through the LCD display. 2.8 light-emitting diode and a tri-color light-emitting diodes will not stop blinking. The buzzer will be based on the value of the AD sample sound. System configuration: maximum user tasks: 10 enabled the mutex (CFG_MUTEX_EN) and a software timer. The clock settings: XTAL freq = 12.00 MHz SYSCLK freq = 48.00 MHz System Tick freq = 100Hz (10ms)
(系统自动生成,下载前可以参看下载内容)

下载文件列表

NUC_M0516_CoOS

..............\.cproject

..............\.project

..............\APP

..............\...\Ascii_Table.c

..............\...\EEPROM_24LC64.c

..............\...\EEPROM_24LC64.h

..............\...\Flash_25Q16.c

..............\...\Flash_25Q16.h

..............\...\LCD_Driver.c

..............\...\LCD_Driver.h

..............\build.xml

..............\cmsis_boot

..............\..........\M051Series.h

..............\..........\startup

..............\..........\.......\startup_M051Series.c

..............\..........\system_M051Series.c

..............\..........\system_M051Series.h

..............\cmsis_core

..............\..........\core_cm0.c

..............\..........\core_cm0.h

..............\cmsis_lib

..............\.........\Include

..............\.........\.......\Driver

..............\.........\.......\......\DrvADC.h

..............\.........\.......\......\DrvGPIO.h

..............\.........\.......\......\DrvSPI.h

..............\.........\.......\......\DrvSYS.h

..............\.........\.......\......\DrvUART.h

..............\.........\.......\System

..............\.........\.......\......\ModuleID.h

..............\.........\.......\......\SysInfra.h

..............\.........\Source

..............\.........\......\Driver

..............\.........\......\......\DrvADC.c

..............\.........\......\......\DrvGPIO.c

..............\.........\......\......\DrvSPI.c

..............\.........\......\......\DrvSYS.c

..............\.........\......\......\DrvUART.c

..............\CoOS

..............\....\Document

..............\....\........\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

..............\....\......\sem.c

..............\....\......\serviceReq.c

..............\....\......\task.c

..............\....\......\time.c

..............\....\......\timer.c

..............\....\......\utility.c

..............\....\......\utility.h

..............\....\portable

..............\....\........\arch.c

..............\....\........\GCC

..............\....\........\...\port.c

..............\....\........\OsArch.h

..............\COX

..............\...\COX_Peripheral

..............\...\..............\cox_adc.h

..............\...\..............\cox_dac.h

..............\...\..............\cox_exti.h

..............\...\..............\cox_i2c.h

..............\...\..............\cox_i2c_slave.h

..............\...\..............\cox_pio.h

..............\...\..............\cox_pwm.h

..............\...\..............\cox_rtc.h

..............\...\..............\cox_serial.h

..............\...\..............\cox_spi.h

..............\...\..............\cox_tick.h

..............\...\..............\cox_types.h

..............\...\..............\cox_usb.h

..............\...\..............\M051_COX_SPI.c

..............\...\..............\M051_COX_SPI.h

..............\...\..............\M051_PIO.c

..............\...\..............\M051_PIO.h

..............\...\..............\M051_PWM.c

..............\...\..............\M051_PWM.h

相关说明

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

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org