文件名称:Stm32_ucos_3-1
介绍说明--下载内容均来自于网络,请自行研究使用
在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
(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
..............\.......\.....\...\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