Chapter 5
.PendOn
This field indicates upon what the task is pending and contains OS_TASK_PEND_ON_???
(see OS.H ).
.PendStatus
This field indicates the outcome of a pend and contains OS_STATUS_PEND_??? (see OS.H ).
.TaskState
This field indicates the current state of a task and contains one of the eight (8) task states
that a task can be in, see OS_TASK_STATE_??? (see OS.H ).
.Prio
This field contains the current priority of a task. .Prio is a value between 0 and
OS_CFG_PRIO_MAX-1 . In fact, the idle task is the only task at priority OS_CFG_PRIO_MAX-1 .
.DbgNextPtr
This field contains a pointer to the next OS_TCB in a doubly linked list of OS_TCB s. OS_TCB s
are placed in this list by OSTaskCreate() . This field is only present if OS_CFG_DBG_EN is set
to 1 in OS_CFG.H . the current priority of a task.
.DbgPrevPtr
This field contains a pointer to the previous OS_TCB in a doubly linked list of OS_TCB s.
OS_TCB s are placed in this list by OSTaskCreate() . This field is only present if
OS_CFG_DBG_EN is set to 1 in OS_CFG.H .
.DbgNamePtr
This field contains a pointer to the name of the object that the task is pending on when the
task is pending on an event flag group, a semaphore, a mutual exclusion semaphore or a
message queue. This information is quite useful during debugging and thus, this field is
only present if OS_CFG_DBG_EN is set to 1 in OS_CFG.H .
5-6 INTERNAL TASKS
During initialization, μC/OS-III creates a minimum of two (2) internal tasks ( OS_IdleTask()
and OS_TickTask() ) and, three (3) optional tasks ( OS_StatTask() , OS_TmrTask() and
OS_IntQTask() ). The optional tasks are created based on the value of compile-time
#defines found in OS_CFG.H .
106
相关PDF资料
AD-UCUSBD-SPRD PRD LIC UCUSB DEV CORE CCES SGL
AD637-EVALZ BOARD EVALUATION FOR AD637
AD736-EVALZ BOARD EVALUATION FOR AD736
AD737-EVALZ BOARD EVALUATION FOR AD737
AD8007AKS-EBZ BOARD EVAL FOR AD8007AKS
AD8018ARU-EVAL BOARD EVAL FOR AD8018
AD8034ART-EBZ BOARD EVAL FOR AD8034ART
AD8040AR-EBZ BOARD EVAL FOR AD8040AR
相关代理商/技术参数
ADUCOSC100 制造商:Analog Devices 功能描述:ADC - Rail/Tube
ADUCOSC100-REEL 功能描述:DAC MICROCONVERTER DUAL TSSOP 制造商:analog devices inc. 系列:* 零件状态:上次购买时间 标准包装:1
ADUCOSC100-REEL7 功能描述:DAC MICROCONVERTER DUAL TSSOP 制造商:analog devices inc. 系列:* 零件状态:上次购买时间 标准包装:1
ADUCOSCZ100 制造商:Analog Devices 功能描述:
ADUCOSCZ100-REEL7 制造商:Analog Devices 功能描述:ANAADUCOSCZ100-REEL7 12 BIT ADC WITH EMB
ADuC-P7026 功能描述:开发板和工具包 - ARM PROTOTYPE BRD FOR ADUC7026 ARM7 RoHS:否 制造商:Arduino 产品:Development Boards 工具用于评估:ATSAM3X8EA-AU 核心:ARM Cortex M3 接口类型:DAC, ICSP, JTAG, UART, USB 工作电源电压:3.3 V
ADUCRF101 制造商:Analog Devices 功能描述:PRECISION ANALOG MICRCONTROLLER - Tape and Reel
ADUCRF101BCPZ128 制造商:Analog Devices 功能描述:PRECISION ANALOG MICROCONTROLLER WITH RF TRANSCEIVER, ARM CO - Trays