资料介绍
uCOSII and event flagsMicrim, Inc.
Copyright 2001, Micrim, Inc.
All Rights reserved
C/OS-II
and Event Flags
Application Note
AN-1007A
Jean J. Labrosse Jean.Labrosse@Micrium.com www.Micrium.com
C/OS-II and Event Flags
Summary
Event flags are used when a task needs to synchronize with the occurrence of multiple events. The task can be synchronized when any of the events have occurred. This is called disjunctive synchronization (logical OR). A task can also be synchronized when all events have occurred. This is called conjunctive synchronization (logical AND). Disjunctive and conjunctive synchronization are shown in Figure 1. This application note describes the Event Flag series of services which were added to C/OS-II V2.05.
Figure 1, Disjunctive and Conjunctive Synchronization using Event Flags.
Introduct