ABSTRACT

Event Flag Management µC/OS-II event flags consist of two elements: a series of bits (either 8, 16, or 32) used to hold the current state of the events in the group and a list of tasks waiting for a combination of these bits to be either set (1) or cleared (0). µC/OS-II provides six services to access semaphores: OSFlagAccept(), OSFlagCreate(), OSFlagDel(), OSFlagPend(), OSFlagPost(), and OSFlagQuery().