文件名称:HT32F1253_CoOS
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 157kb
- 下载次数:
- 0次
- 提 供 者:
- pe***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
设备:
Holtek HT32F1755
评估板:
HT32F175x_275x Development Board
集成环境:
CoIDE V1.4.2
Tasks:
task_init 初始化所有的硬件,创建所有的事件标志和互斥体。
taskA 闪烁LED2和LED3。
taskB 通过USART输出ADC转换的数值
taskC 用RTC显示时间,通过USART输出
描述:
系统启动时,LED2和LED3闪烁,时间在超级终端上显示。同时,LED1每秒闪亮一次。每5秒钟,采样3次ADC转换的数据并打印到超级终端上。
系统配置:
最大用户任务:4
时钟设置:
XTAL freq = 8.00 MHz
SYSCLK freq = 8.00 MHz
System Tick freq = 100Hz (10ms)-Equipment: Holtek HT32F1755 evaluation board: HT32F175x_275x Development Board integrated environment: CoIDE the V1.4.2 Tasks: task_init initialize all the hardware, to create the event flag and mutex. taskA flashing LED2 and LED3. output the numerical taskC ADC conversion taskB via USART RTC show time, through USART output descr iption: system startup, LED2 and LED3 flashes, the time displayed on the HyperTerminal. Meanwhile, LED1 per second flash once. Every five seconds, sampling 3 ADC conversion data and print to the HyperTerminal. System configuration: the largest user tasks: clock set: XTAL freq = the 8.00 MHz SYSCLK freq = 8.00 MHz System Tick freq = 100Hz (10ms)
Holtek HT32F1755
评估板:
HT32F175x_275x Development Board
集成环境:
CoIDE V1.4.2
Tasks:
task_init 初始化所有的硬件,创建所有的事件标志和互斥体。
taskA 闪烁LED2和LED3。
taskB 通过USART输出ADC转换的数值
taskC 用RTC显示时间,通过USART输出
描述:
系统启动时,LED2和LED3闪烁,时间在超级终端上显示。同时,LED1每秒闪亮一次。每5秒钟,采样3次ADC转换的数据并打印到超级终端上。
系统配置:
最大用户任务:4
时钟设置:
XTAL freq = 8.00 MHz
SYSCLK freq = 8.00 MHz
System Tick freq = 100Hz (10ms)-Equipment: Holtek HT32F1755 evaluation board: HT32F175x_275x Development Board integrated environment: CoIDE the V1.4.2 Tasks: task_init initialize all the hardware, to create the event flag and mutex. taskA flashing LED2 and LED3. output the numerical taskC ADC conversion taskB via USART RTC show time, through USART output descr iption: system startup, LED2 and LED3 flashes, the time displayed on the HyperTerminal. Meanwhile, LED1 per second flash once. Every five seconds, sampling 3 ADC conversion data and print to the HyperTerminal. System configuration: the largest user tasks: clock set: XTAL freq = the 8.00 MHz SYSCLK freq = 8.00 MHz System Tick freq = 100Hz (10ms)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
HT32F1253_CoOS
..............\.cproject
..............\.project
..............\build.xml
..............\cmsis
..............\.....\core_cm3.c
..............\.....\core_cm3.h
..............\cmsis_boot
..............\..........\ht32f125x.h
..............\..........\startup
..............\..........\.......\startup_ht32f125x.c
..............\..........\system_ht32f125x.c
..............\..........\system_ht32f125x.h
..............\cmsis_lib
..............\.........\include
..............\.........\.......\ht32f125x_adc.h
..............\.........\.......\ht32f125x_ckcu.h
..............\.........\.......\ht32f125x_exti.h
..............\.........\.......\ht32f125x_gpio.h
..............\.........\.......\ht32f125x_gptm.h
..............\.........\.......\ht32f125x_pwrcu.h
..............\.........\.......\ht32f125x_rstcu.h
..............\.........\.......\ht32f125x_rtc.h
..............\.........\.......\ht32f125x_usart.h
..............\.........\source
..............\.........\......\ht32f125x_adc.c
..............\.........\......\ht32f125x_ckcu.c
..............\.........\......\ht32f125x_exti.c
..............\.........\......\ht32f125x_gpio.c
..............\.........\......\ht32f125x_gptm.c
..............\.........\......\ht32f125x_pwrcu.c
..............\.........\......\ht32f125x_rstcu.c
..............\.........\......\ht32f125x_rtc.c
..............\.........\......\ht32f125x_usart.c
..............\Config.c
..............\Config.h
..............\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
..............\debug.config
..............\HT32F1253_CoOS.cob
..............\link.ld
..............\main.c
..............\memory.ld
..............\.cproject
..............\.project
..............\build.xml
..............\cmsis
..............\.....\core_cm3.c
..............\.....\core_cm3.h
..............\cmsis_boot
..............\..........\ht32f125x.h
..............\..........\startup
..............\..........\.......\startup_ht32f125x.c
..............\..........\system_ht32f125x.c
..............\..........\system_ht32f125x.h
..............\cmsis_lib
..............\.........\include
..............\.........\.......\ht32f125x_adc.h
..............\.........\.......\ht32f125x_ckcu.h
..............\.........\.......\ht32f125x_exti.h
..............\.........\.......\ht32f125x_gpio.h
..............\.........\.......\ht32f125x_gptm.h
..............\.........\.......\ht32f125x_pwrcu.h
..............\.........\.......\ht32f125x_rstcu.h
..............\.........\.......\ht32f125x_rtc.h
..............\.........\.......\ht32f125x_usart.h
..............\.........\source
..............\.........\......\ht32f125x_adc.c
..............\.........\......\ht32f125x_ckcu.c
..............\.........\......\ht32f125x_exti.c
..............\.........\......\ht32f125x_gpio.c
..............\.........\......\ht32f125x_gptm.c
..............\.........\......\ht32f125x_pwrcu.c
..............\.........\......\ht32f125x_rstcu.c
..............\.........\......\ht32f125x_rtc.c
..............\.........\......\ht32f125x_usart.c
..............\Config.c
..............\Config.h
..............\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
..............\debug.config
..............\HT32F1253_CoOS.cob
..............\link.ld
..............\main.c
..............\memory.ld