文件名称:Stm32_ucos_3-1
介绍说明--下载内容均来自于网络,请自行研究使用
(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
-(A) two external interrupt EINTB (KEY1), EINTC (KEY2), three tasks A, B, C, from low to high priority. (2) A task runs once every digital tube such that the first group increases the value of one, call the delay function 1s (3) B task waiting for the semaphore bsem (initial value is 0), the interrupt INTB amount bsem trigger signal transmission. Each time you run the task so that the second group increases the value of a digital control, call the delay function is 0.5s (4) C task waiting for the semaphore csem (initial value is 0), the interrupt is triggered semaphore csem INTC transmission, the task Each time you run such a light-emitting diode flashes, call the delay function is 0.1s
(2)A任务每运行一次使得第一组数码管的值增加1,调用延时函数为1s
(3)B任务等待信号量bsem(初始值为0),中断INTB触发信号量bsem的发送。该任务每运行一次使得第二组数码管的值增加1,调用延时函数为0.5s
(4)C任务等待信号量csem(初始值为0),中断INTC触发信号量csem的发送,该任务每运行一次使得某个发光二级管闪烁,调用延时函数为0.1s
-(A) two external interrupt EINTB (KEY1), EINTC (KEY2), three tasks A, B, C, from low to high priority. (2) A task runs once every digital tube such that the first group increases the value of one, call the delay function 1s (3) B task waiting for the semaphore bsem (initial value is 0), the interrupt INTB amount bsem trigger signal transmission. Each time you run the task so that the second group increases the value of a digital control, call the delay function is 0.5s (4) C task waiting for the semaphore csem (initial value is 0), the interrupt is triggered semaphore csem INTC transmission, the task Each time you run such a light-emitting diode flashes, call the delay function is 0.1s
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Stm32_ucos_3-1
..............\project
..............\.......\Debug
..............\.......\.....\Exe
..............\.......\.....\...\gprs.bin
..............\.......\.....\...\gprs.out
..............\.......\.....\List
..............\.......\.....\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
..............\USER
..............\....\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