我 Porting 的 uC/OS-II V2.84 (目前Micrium)最新版之 Keil C51 工程,专供给 8051 上做任务调度,我已将 Code Size 改小至 4000 Byte,对于 X-Ram 的用量也仅 160 Byte(于 Keil C51 V8.08a 下编译后).我在 maIn.c 内创建了两个任务调度的 LED 闪烁程序,方便了解任务是如何被创建的,同时我也在 Keil C51 的 Project 内设好了 Simulator 模式及 Port 1 窗视可即时的观测这两个任务调度情况.
标签: Porting Micrium OS-II 2.84
上传时间: 2015-12-14
上传用户:gundamwzc
一个使用MSP430汇编语言写的 RTOS,此版本为 V1.1 版并已修正过在 IAR MSP430 V3.42A 编译后可于 Simulator 下正常调度工作了,其中设置的六个任务上都下了断点,方便在 Simulator 下观测任务调度,兹将原使用说明详列如下: M430/OS 演示程序 V1.1 版,此演示程序包含六个任务: softclock 软时钟任务 task1 向端口2的每个管脚输出方波的任务 task2 向端口3的每个管脚输出方波的任务 task3 向端口4的每个管脚输出方波的任务 task4 向端口5的每个管脚输出方波的任务 taskled 点亮P1.0上指示灯的任务 6个任务,加上M430/OS的空闲任务,共7个任务,系统开辟了6块堆栈,空闲任务使用maIn程序的堆栈,空闲任务不保存现场。每块堆栈的大小可以不同。 软时钟任务利用M430/OS的多任务延时模拟了一个有年、月、日、时、分、秒的时钟,并且可以日期,时间格式为BCD格式或10进制格式。
上传时间: 2015-12-14
上传用户:www240697738
IT++ is a C++ library of mathematical, signal processing and communication system routines/functions. Its maIn use is in simulation of communication systems or for performing research in the area of communications.
标签: communication mathematical processing functions
上传时间: 2014-01-13
上传用户:han_zh
http://www.bc-cn.net/Article/kfyy/cyy/jc/200409/5_4.html float aver(float a[5]) { int i float av,s=a[0] for(i=1 i<5 i++) s=s+a[i] av=s/5 return av } void maIn() { float sco[5],av int i
标签: float Article 200409 bc-cn
上传时间: 2014-01-08
上传用户:zsjzc
1、简介 此代码是IS0 13818-5 MPEG2系统层协议分析代码,经过我的一点修改,现在终于可以在VC++ 6.0下编译运行, 发布上来献给那些为了理解MPEG2系统层协议而苦苦加班的程序员。为了可以在windows下编译,我修改了部分操作系统相关代码,注解掉了一些maIn函数,只留下decode.cpp中的maIn函数没有注解,所以编译后的程序是TS流系统层解码分析程序,如果要实现其他功能如encode,只要把decode.cpp中的maIn函数注解,把encode.cpp中的maIn函数注解去掉即可。
上传时间: 2014-01-21
上传用户:ywqaxiwang
实现linux的网卡的ip地址、掩码、默认路由的查询和修改程序,maIn函数是我测试用的,你可以按照maIn的写法任意使用其他函数
上传时间: 2014-12-05
上传用户:tedo811
本文件包基于asp.net + javascript方式,实现了基于浏览器的网页所见即所得式的设计,直接在浏览器中打开maIn.html即可,按住shift建加鼠标拖动即可创建一个层,然后可以随意拖动、定位该层。同时利用浮动工具框完成对层内容的编辑。最后可以预览网页。并生成文件。
标签: javascript asp net 方式
上传时间: 2016-01-03
上传用户:hj_18
This zip file describes how to generate a clock on the PCK pin using the PMC running under AT91RM3400DK with Green hills 3.6.1 Multi® 2000 Software Tool. Includes maIn.html file for help.
标签: describes the generate running
上传时间: 2013-12-11
上传用户:hgy9473
This zip file describes a Basic USART using Interrupts and PDC running under EB42 with ARM® ADS 1.2 Software Tool. Includes maIn.html file for help.
标签: Interrupts describes running Basic
上传时间: 2016-01-03
上传用户:weiwolkt
学会对文件的记录锁定,及解锁。#include <stdio.h> #include <unistd.h> #include <fcntl.h> int maIn() { int fd int i struct { char name[20] uint ID int age } myrec fd =open("name", O_RDWR|O_CREAT, 0755) if (fd == -1) return -1 printf("Input your name:") scanf("%s", myrec.name) printf("Inpute your ID :") scanf("%d", &myrec.ID) printf("Input your age :") scanf("%d", &myrec.age) lseek(fd, 0,SEEK_END) lockf(fd, 1, 0) write(fd, (void *)&myrec, sizeof(myrec)) lockf(fd, 0 ,0) return 0 } 执行命令cc lock.c –o lock.out Chmod +x lock.out ./lock.out
标签: 记录
上传时间: 2016-01-04
上传用户:亚亚娟娟123