代码搜索:OSTaskCreate
找到约 1,021 项符合「OSTaskCreate」的源代码
代码结果 1,021
www.eeworm.com/read/228416/14386216
c testostaskresume.c
#include "taskTest.h"
static unsigned32 task_id1,task_id2;
static void entry5(
void* argument
)
{
printf("in task1:suspend itself,so the task2 can run\n");
OSTaskSuspend(task_id1)
www.eeworm.com/read/228416/14386271
c testostaskstart.c
#include "taskTest.h"
static void entry1(
void* argument
)
{
printf("in task entry,the param[%d].\n",(int)argument);
}
int testOSTaskStart()
{
OS_STATUS status;
unsigned32
www.eeworm.com/read/123497/14627843
c 基于lpc2104+μcos-ii操作系统代码.c
基于学习ARM和μC/OS-II,已成功移植μC/OS-II到LPC2104上。采用ADS1.2编译器。建立5个任务:
任务1: 读/写卡(视频卡),优先级最高。
任务2: 接收PC命令,命令分析
任务3: 显示
任务4: 负责返回数据给PC
任务5: 数据存储
/*
**********************************
www.eeworm.com/read/213409/15135475
c ex1.c
#include "..\uc_os_II\includes.h"
OS_STK xdata Task1Stack[CPU_MAX_STK_SIZE];
OS_STK xdata Task2Stack[CPU_MAX_STK_SIZE];
void Task1(void xdata * ppdata) reentrant
{
ppdata = ppdata;
while(1
www.eeworm.com/read/152935/5655116
c test1.c
/*
// Sample for UCOS-II running on Tern board with AMD 186ES CPU. This application has
// two tasks, one blinks the LED on the tern board at a rate of once per second, the other
// task just wast
www.eeworm.com/read/393943/8253490
c main.c
#include"..\ucos-ii\includes.h" /* uC/OS interface */
#include
#include"uhal.h"
#pragma import(__use_no_semihosting_swi) // ensure no functions that use semihosting
www.eeworm.com/read/292710/8339410
c main.c
#include"..\ucos-ii\includes.h" /* uC/OS interface */
#include
#include"uhal.h"
#pragma import(__use_no_semihosting_swi) // ensure no functions that use semihosting
www.eeworm.com/read/171714/9740757
c test.c
/************************Test*************************************/
#include "includes.h"
#define TASK_STK_SIZE 512 //任务堆栈长度
OS_STK StartTaskStk[TASK_STK_SIZE]; //定义任务堆栈区
OS_STK MyTask
www.eeworm.com/read/171714/9740786
c test.c
/************************Test*************************************/
#include "includes.h"
#define TASK_STK_SIZE 512 //任务堆栈长度
OS_STK StartTaskStk[TASK_STK_SIZE]; //定义任务堆栈区
OS_STK MyTask
www.eeworm.com/read/171714/9740820
c test.c
/************************Test*************************************/
#include "includes.h"
#define TASK_STK_SIZE 512 //任务堆栈长度
OS_STK StartTaskStk[TASK_STK_SIZE]; //定义任务堆栈区
OS_STK MyTask