Chapter 1
in the original μC/OS book. This standard has evolved over the years, but the spirit of the
standard has been maintained throughout. The Micriμm coding standard is available for
download from the Micriμm website, www.micrium.com
One of the conventions used is that all functions, variables, macros and #define constants
are prefixed by “OS” (which stands for Operating System) followed by the acronym of the
module (e.g., Sem ), and then the operation performed by the function. For example
OSSemPost() indicates that the function belongs to the OS (μC/OS-III), that it is part of
the Semaphore services, and specifically that the function performs a Post (i.e., signal)
operation. This allows all related functions to be grouped together in the reference manual,
and makes those services intuitive to use.
Notice that signaling or sending a message to a task is called posting, and waiting for a
signal or a message is called pending. In other words, an ISR or a task signals or sends a
message to another task by using OS???Post() , where ??? is the type of service: Sem ,
TaskSem , Flag , Mutex , Q , and TaskQ . Similarly, a task can wait for a signal or a message by
calling OS???Pend() .
1-9 CHAPTER CONTENTS
Figure 1-3 shows the layout and flow of Part I of the book. This diagram should be useful to
understand the relationship between chapters. The first column on the left indicates
chapters that should be read in order to understand μC/OS-III’s structure. The second
column shows chapters that are related to additional services provided by μC/OS-III. The
third column relates to chapters that will help port μC/OS-III to different CPU architectures.
The top of the fourth column explains how to obtain valuable run-time and compile-time
statistics from μC/OS-III. This is especially useful if developing a kernel awareness plug-in
for a debugger, or using μC/Probe. The middle of column four contains the μC/OS-III API
and configuration manuals. Reference these sections regularly when designing a product
using μC/OS-III. Finally, the bottom of the last column contains miscellaneous appendices.
28
相关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