文件名称:Stm32_ucos_3-1

  • 所属分类:
  • uCOS开发
  • 资源属性:
  • [C/C++] [源码]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 289kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • 林*
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

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

在IAR环境中实现以下要求的编程(1)二个外部中断EINTB(KEY1)、EINTC(KEY2),三个任务A、B、C,优先级由低到高。

(2)A任务每运行一次使得第一组数码管的值增加1,调用延时函数为1s

(3)B任务等待信号量bsem(初始值为0),中断INTB触发信号量bsem的发送。该任务每运行一次使得第二组数码管的值增加1,调用延时函数为0.5s

(4)C任务等待信号量csem(初始值为0),中断INTC触发信号量csem的发送,该任务每运行一次使得某个发光二级管闪烁,调用延时函数为0.1s

-IAR environment in programming to achieve the following requirements (1) two external interrupt EINTB (KEY1), EINTC (KEY2), three tasks A, B, C, from low to high priority. (2) A task group each time you run make the first digital value increase, calling the delay function for the 1s (3) B task waiting for semaphore bsem (initial value 0), interrupt INTB trigger the sending semaphore bsem . The task runs once each second set of digital control makes the value increase, calling the delay function 0.5s (4) C task waiting for semaphore csem (initial value 0), interrupt INTC amount csem send the trigger signal, the so each time you run a task light-emitting diode flashes, called the delay function for the 0.1s
(系统自动生成,下载前可以参看下载内容)

下载文件列表

Stm32_ucos_3-1\project\Debug\Exe\gprs.bin

..............\.......\.....\...\gprs.out

..............\.......\.....\Obj\BoardInit.o

..............\.......\.....\...\cortexm3_macro.o

..............\.......\.....\...\gprs.o

..............\.......\.....\...\gprs.pbd

..............\.......\.....\...\gprs.pbi

..............\.......\.....\...\Hex.o

..............\.......\.....\...\I2C.o

..............\.......\.....\...\led.o

..............\.......\.....\...\main.o

..............\.......\.....\...\pdu.o

..............\.......\.....\...\pdu.pbi

..............\.......\.....\...\stm32f10x_it.o

..............\.......\.....\...\stm32f10x_vector.o

..............\.......\.....\...\stm32_equip.o

..............\.......\gprs.dep

..............\.......\gprs.ewd

..............\.......\gprs.ewp

..............\.......\gprs.eww

..............\.......\settings\gprs.cspy.bat

..............\.......\........\gprs.dbgdt

..............\.......\........\gprs.dni

..............\.......\........\gprs.wsdt

..............\.......\........\gprs_Debug.jlink

..............\STM32_LIB\config\stm32f10x_conf.h

..............\.........\inc\cortexm3_macro.h

..............\.........\...\stm32f10x_adc.h

..............\.........\...\stm32f10x_bkp.h

..............\.........\...\stm32f10x_can.h

..............\.........\...\stm32f10x_crc.h

..............\.........\...\stm32f10x_dac.h

..............\.........\...\stm32f10x_dbgmcu.h

..............\.........\...\stm32f10x_dma.h

..............\.........\...\stm32f10x_exti.h

..............\.........\...\stm32f10x_flash.h

..............\.........\...\stm32f10x_fsmc.h

..............\.........\...\stm32f10x_gpio.h

..............\.........\...\stm32f10x_i2c.h

..............\.........\...\stm32f10x_iwdg.h

..............\.........\...\stm32f10x_lib.h

..............\.........\...\stm32f10x_map.h

..............\.........\...\stm32f10x_nvic.h

..............\.........\...\stm32f10x_pwr.h

..............\.........\...\stm32f10x_rcc.h

..............\.........\...\stm32f10x_rtc.h

..............\.........\...\stm32f10x_sdio.h

..............\.........\...\stm32f10x_spi.h

..............\.........\...\stm32f10x_systick.h

..............\.........\...\stm32f10x_tim.h

..............\.........\...\stm32f10x_type.h

..............\.........\...\stm32f10x_usart.h

..............\.........\...\stm32f10x_wwdg.h

..............\.........\lib\stm32_2.0.3_lib.a

..............\.........\startup\cortexm3_macro.s

..............\.........\.......\stm32f10x_vector.c

..............\.........\version.txt

..............\UCOS\inc\os_cfg.h

..............\....\...\os_cpu.h

..............\....\...\ucos_ii.h

..............\....\lib\ucos.a

..............\.SER\inc\BoardInit.h

..............\....\...\includes.h

..............\....\...\main.h

..............\....\...\stm32f10x_it.h

..............\....\...\stm32_equip.h

..............\....\...\type.h

..............\....\linkerCofig\STM32_Flash.icf

..............\....\...........\STM32_Flash.mac

..............\....\...........\STM32_Flash_XRAM.icf

..............\....\...........\STM32_Flash_XRAM.mac

..............\....\src\BoardInit.c

..............\....\...\main.c

..............\....\...\stm32f10x_it.c

..............\....\...\stm32_equip.c

..............\project\Debug\Exe

..............\.......\.....\List

..............\.......\.....\Obj

..............\.......\Debug

..............\.......\settings

..............\STM32_LIB\config

..............\.........\inc

..............\.........\lib

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

..............\UCOS\inc

..............\....\lib

..............\.SER\inc

..............\....\linkerCofig

..............\....\src

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

..............\STM32_LIB

..............\UCOS

..............\USER

Stm32_ucos_3-1

实验要求.docx

相关说明

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

相关评论

暂无评论内容.

发表评论

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

源码中国 www.ymcn.org