uc-os_test
所属分类:uCOS/RTOS
开发工具:Visual C++
文件大小:2463KB
下载次数:6
上传日期:2011-06-09 17:00:51
上 传 者:
374209088@qq.com
说明: ucos完美移植,个人已经成功移植,二个进程切换
(ucos perfect transplant)
文件列表:
uc-os_test\CPU\ST\STM32\inc\cortexm3_macro.h (2356, 2008-08-05)
uc-os_test\CPU\ST\STM32\inc\stm32f10x_adc.h (18985, 2008-08-05)
uc-os_test\CPU\ST\STM32\inc\stm32f10x_bkp.h (7042, 2008-08-05)
uc-os_test\CPU\ST\STM32\inc\stm32f10x_can.h (12410, 2008-08-05)
uc-os_test\CPU\ST\STM32\inc\stm32f10x_crc.h (2012, 2008-08-05)
uc-os_test\CPU\ST\STM32\inc\stm32f10x_dac.h (9729, 2008-08-05)
uc-os_test\CPU\ST\STM32\inc\stm32f10x_dbgmcu.h (2990, 2008-08-05)
uc-os_test\CPU\ST\STM32\inc\stm32f10x_dma.h (18105, 2008-08-05)
uc-os_test\CPU\ST\STM32\inc\stm32f10x_exti.h (5907, 2008-08-05)
uc-os_test\CPU\ST\STM32\inc\stm32f10x_flash.h (14127, 2008-08-05)
uc-os_test\CPU\ST\STM32\inc\stm32f10x_fsmc.h (19172, 2008-08-05)
uc-os_test\CPU\ST\STM32\inc\stm32f10x_gpio.h (14951, 2008-08-05)
uc-os_test\CPU\ST\STM32\inc\stm32f10x_i2c.h (16344, 2008-08-05)
uc-os_test\CPU\ST\STM32\inc\stm32f10x_iwdg.h (3545, 2008-08-05)
uc-os_test\CPU\ST\STM32\inc\stm32f10x_lib.h (3331, 2008-08-05)
uc-os_test\CPU\ST\STM32\inc\stm32f10x_map.h (28421, 2008-08-05)
uc-os_test\CPU\ST\STM32\inc\stm32f10x_nvic.h (19329, 2008-08-05)
uc-os_test\CPU\ST\STM32\inc\stm32f10x_pwr.h (3996, 2008-08-05)
uc-os_test\CPU\ST\STM32\inc\stm32f10x_rcc.h (14914, 2008-08-05)
uc-os_test\CPU\ST\STM32\inc\stm32f10x_rtc.h (3750, 2008-08-05)
uc-os_test\CPU\ST\STM32\inc\stm32f10x_sdio.h (18457, 2008-08-05)
uc-os_test\CPU\ST\STM32\inc\stm32f10x_spi.h (13913, 2008-08-05)
uc-os_test\CPU\ST\STM32\inc\stm32f10x_systick.h (3343, 2008-08-05)
uc-os_test\CPU\ST\STM32\inc\stm32f10x_tim.h (47334, 2008-08-05)
uc-os_test\CPU\ST\STM32\inc\stm32f10x_type.h (3519, 2008-08-05)
uc-os_test\CPU\ST\STM32\inc\stm32f10x_usart.h (14526, 2008-08-05)
uc-os_test\CPU\ST\STM32\inc\stm32f10x_wwdg.h (2751, 2008-08-05)
uc-os_test\CPU\ST\STM32\src\stm32f10x_adc.c (58694, 2008-08-05)
uc-os_test\CPU\ST\STM32\src\stm32f10x_bkp.c (11301, 2008-08-05)
uc-os_test\CPU\ST\STM32\src\stm32f10x_can.c (32180, 2008-08-05)
uc-os_test\CPU\ST\STM32\src\stm32f10x_crc.c (4746, 2008-08-05)
uc-os_test\CPU\ST\STM32\src\stm32f10x_dac.c (17306, 2008-08-05)
uc-os_test\CPU\ST\STM32\src\stm32f10x_dbgmcu.c (5353, 2008-08-05)
uc-os_test\CPU\ST\STM32\src\stm32f10x_dma.c (33422, 2008-08-05)
uc-os_test\CPU\ST\STM32\src\stm32f10x_exti.c (8873, 2008-08-05)
uc-os_test\CPU\ST\STM32\src\stm32f10x_flash.c (32815, 2008-08-05)
uc-os_test\CPU\ST\STM32\src\stm32f10x_fsmc.c (41723, 2008-08-05)
uc-os_test\CPU\ST\STM32\src\stm32f10x_gpio.c (22643, 2008-08-05)
uc-os_test\CPU\ST\STM32\src\stm32f10x_i2c.c (46932, 2008-08-05)
uc-os_test\CPU\ST\STM32\src\stm32f10x_iwdg.c (6562, 2008-08-05)
... ...
这是一个通用的STM32启动及控制代码集.它没有使用ST的库,完全是基于寄存器的操作.它包括三部分:
1,sys
sys部分包含了STM32的系统级别的代码,包括:时钟配置,IO口输入输出管理,中断管理,待机模式设置,BKP操作,软复位,JTAG配置等.
2,usart
usart部分包含了对串口1的初始化,用于串口调试,或者串口打印信息.
3,delay
delay部分包含了2个基本的延时函数,delay_us和delay_ms,这两个函数采用STM32的SYSTICK作为延时定时器,所以在使用delay的时候,需要占用SYSTICK.
这些代码理论上支持STM32F101,F102,F103,F105,及F107.但是只在F103上做了测试.
如果您在使用中有任何问题,请发送邮件至497610476@qq.com
-------------------------------------------------------------------
本程序只供学习使用,未经作者许可,不得用于其它任何用途.
ALIENTEK 产品购买地址:http://shop62057469.taobao.com
http://shop62103354.taobao.com
Copyright(C) ALIENTEK 2010-2019
All rights reserved
-------------------------------------------------------------------
version 2.0
正点原子@ALIENTEK
2010-8-18
近期下载者:
相关文件:
收藏者: