代码搜索结果
找到约 4,874 项符合
RTOS 的代码
rtos_services.c
/*
** Copyright (C) 2006 Tamir Michael
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the
rtos_services.h
/*
** Copyright (C) 2006 Tamir Michael
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the
xing_rtos.hex
:10089F00492073656E6420612073656D0A004920DD
:0D08AF0067657420746865206D73670A002A
:100859007D007F001208000530E5305407FF740160
:10086900A807088002C333D8FCF5807D007F0012F9
:0408790003DA80E33B
:1007
xing_rtos.lnp
"main.obj",
"OS_core.obj",
"q.obj",
"sem.obj",
"task_switch.obj",
"UART.obj"
TO "XING_RTOS"
RAMSIZE(256)
xing_rtos.opt
### uVision2 Project, (C) Keil Software
### Do not modify !
cExt (*.c)
aExt (*.s*; *.src; *.a*)
oExt (*.obj)
lExt (*.lib)
tExt (*.txt; *.h; *.inc)
pExt (*.plm)
CppX (*.cpp)
DaveTm {
xing_rtos.plg
礦ision3 Build Log
Project:
D:\个人\单片机小型OS\XING_RTOS\XING_RTOS\XING_RTOS.uv2
Project File Date: 03/06/2008
Output:
Build target 'Target 1'
comp
rtos_test.c
#include "reg52.h"
#include "device.h"
#include "rtos.h"
#include "rtos_test.h"
void task1(void)
{
UCHAR i=0;
while(1)
{
i++;
if(i>10)
{
i = 0;
P12 = !P12;
}
rtos_test.h
#ifndef _RTOS_TEST_H
#define _RTOS_TEST_H
//创建3个任务,任务号为0-2
#define TASKID_1 0
#define TASKID_2 1
#define TASKID_3 2
//任务间通信,事件ID 1
#define EVENTID_1 0x01
#endif
rtos.o.d
RTOS.o: ../RTOS.c ../RTOS.h C:/WinAVR/avr/include/avr/io.h \
C:/WinAVR/avr/include/avr/sfr_defs.h C:/WinAVR/avr/include/inttypes.h \
C:/WinAVR/avr/include/stdint.h C:/WinAVR/avr/include/avr/iom1