Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BufferedSerial FatFileSystemCpp mbed
mbed-rtos/rtx/rt_Event.h@58:8cce8fcc765f, 2021-09-13 (annotated)
- Committer:
- JamieB
- Date:
- Mon Sep 13 07:38:22 2021 +0000
- Revision:
- 58:8cce8fcc765f
- Parent:
- 22:0dd9c1b5664a
Reduced Ethernet latency and Increased thread priority
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| AndyA | 22:0dd9c1b5664a | 1 | /*---------------------------------------------------------------------------- |
| AndyA | 22:0dd9c1b5664a | 2 | * RL-ARM - RTX |
| AndyA | 22:0dd9c1b5664a | 3 | *---------------------------------------------------------------------------- |
| AndyA | 22:0dd9c1b5664a | 4 | * Name: RT_EVENT.H |
| AndyA | 22:0dd9c1b5664a | 5 | * Purpose: Implements waits and wake-ups for event flags |
| AndyA | 22:0dd9c1b5664a | 6 | * Rev.: V4.60 |
| AndyA | 22:0dd9c1b5664a | 7 | *---------------------------------------------------------------------------- |
| AndyA | 22:0dd9c1b5664a | 8 | * |
| AndyA | 22:0dd9c1b5664a | 9 | * Copyright (c) 1999-2009 KEIL, 2009-2012 ARM Germany GmbH |
| AndyA | 22:0dd9c1b5664a | 10 | * All rights reserved. |
| AndyA | 22:0dd9c1b5664a | 11 | * Redistribution and use in source and binary forms, with or without |
| AndyA | 22:0dd9c1b5664a | 12 | * modification, are permitted provided that the following conditions are met: |
| AndyA | 22:0dd9c1b5664a | 13 | * - Redistributions of source code must retain the above copyright |
| AndyA | 22:0dd9c1b5664a | 14 | * notice, this list of conditions and the following disclaimer. |
| AndyA | 22:0dd9c1b5664a | 15 | * - Redistributions in binary form must reproduce the above copyright |
| AndyA | 22:0dd9c1b5664a | 16 | * notice, this list of conditions and the following disclaimer in the |
| AndyA | 22:0dd9c1b5664a | 17 | * documentation and/or other materials provided with the distribution. |
| AndyA | 22:0dd9c1b5664a | 18 | * - Neither the name of ARM nor the names of its contributors may be used |
| AndyA | 22:0dd9c1b5664a | 19 | * to endorse or promote products derived from this software without |
| AndyA | 22:0dd9c1b5664a | 20 | * specific prior written permission. |
| AndyA | 22:0dd9c1b5664a | 21 | * |
| AndyA | 22:0dd9c1b5664a | 22 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
| AndyA | 22:0dd9c1b5664a | 23 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| AndyA | 22:0dd9c1b5664a | 24 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| AndyA | 22:0dd9c1b5664a | 25 | * ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE |
| AndyA | 22:0dd9c1b5664a | 26 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| AndyA | 22:0dd9c1b5664a | 27 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| AndyA | 22:0dd9c1b5664a | 28 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
| AndyA | 22:0dd9c1b5664a | 29 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
| AndyA | 22:0dd9c1b5664a | 30 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| AndyA | 22:0dd9c1b5664a | 31 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
| AndyA | 22:0dd9c1b5664a | 32 | * POSSIBILITY OF SUCH DAMAGE. |
| AndyA | 22:0dd9c1b5664a | 33 | *---------------------------------------------------------------------------*/ |
| AndyA | 22:0dd9c1b5664a | 34 | |
| AndyA | 22:0dd9c1b5664a | 35 | /* Functions */ |
| AndyA | 22:0dd9c1b5664a | 36 | extern OS_RESULT rt_evt_wait (U16 wait_flags, U16 timeout, BOOL and_wait); |
| AndyA | 22:0dd9c1b5664a | 37 | extern void rt_evt_set (U16 event_flags, OS_TID task_id); |
| AndyA | 22:0dd9c1b5664a | 38 | extern void rt_evt_clr (U16 clear_flags, OS_TID task_id); |
| AndyA | 22:0dd9c1b5664a | 39 | extern void isr_evt_set (U16 event_flags, OS_TID task_id); |
| AndyA | 22:0dd9c1b5664a | 40 | extern U16 rt_evt_get (void); |
| AndyA | 22:0dd9c1b5664a | 41 | extern void rt_evt_psh (P_TCB p_CB, U16 set_flags); |
| AndyA | 22:0dd9c1b5664a | 42 | |
| AndyA | 22:0dd9c1b5664a | 43 | /*---------------------------------------------------------------------------- |
| AndyA | 22:0dd9c1b5664a | 44 | * end of file |
| AndyA | 22:0dd9c1b5664a | 45 | *---------------------------------------------------------------------------*/ |
| AndyA | 22:0dd9c1b5664a | 46 |