florent ollivier / Mbed 2 deprecated Gyro

Dependencies:   mbed

Committer:
flo__
Date:
Mon Mar 28 15:54:19 2022 +0000
Revision:
0:b435eadf76b4
28/03/2022

Who changed what in which revision?

UserRevisionLine numberNew contents of line
flo__ 0:b435eadf76b4 1
flo__ 0:b435eadf76b4 2 /** \addtogroup rtos */
flo__ 0:b435eadf76b4 3 /** @{*/
flo__ 0:b435eadf76b4 4 /*----------------------------------------------------------------------------
flo__ 0:b435eadf76b4 5 * CMSIS-RTOS - RTX
flo__ 0:b435eadf76b4 6 *----------------------------------------------------------------------------
flo__ 0:b435eadf76b4 7 * Name: RT_EVENT.H
flo__ 0:b435eadf76b4 8 * Purpose: Implements waits and wake-ups for event flags
flo__ 0:b435eadf76b4 9 * Rev.: V4.70
flo__ 0:b435eadf76b4 10 *----------------------------------------------------------------------------
flo__ 0:b435eadf76b4 11 *
flo__ 0:b435eadf76b4 12 * Copyright (c) 1999-2009 KEIL, 2009-2013 ARM Germany GmbH
flo__ 0:b435eadf76b4 13 * All rights reserved.
flo__ 0:b435eadf76b4 14 * Redistribution and use in source and binary forms, with or without
flo__ 0:b435eadf76b4 15 * modification, are permitted provided that the following conditions are met:
flo__ 0:b435eadf76b4 16 * - Redistributions of source code must retain the above copyright
flo__ 0:b435eadf76b4 17 * notice, this list of conditions and the following disclaimer.
flo__ 0:b435eadf76b4 18 * - Redistributions in binary form must reproduce the above copyright
flo__ 0:b435eadf76b4 19 * notice, this list of conditions and the following disclaimer in the
flo__ 0:b435eadf76b4 20 * documentation and/or other materials provided with the distribution.
flo__ 0:b435eadf76b4 21 * - Neither the name of ARM nor the names of its contributors may be used
flo__ 0:b435eadf76b4 22 * to endorse or promote products derived from this software without
flo__ 0:b435eadf76b4 23 * specific prior written permission.
flo__ 0:b435eadf76b4 24 *
flo__ 0:b435eadf76b4 25 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
flo__ 0:b435eadf76b4 26 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
flo__ 0:b435eadf76b4 27 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
flo__ 0:b435eadf76b4 28 * ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE
flo__ 0:b435eadf76b4 29 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
flo__ 0:b435eadf76b4 30 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
flo__ 0:b435eadf76b4 31 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
flo__ 0:b435eadf76b4 32 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
flo__ 0:b435eadf76b4 33 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
flo__ 0:b435eadf76b4 34 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
flo__ 0:b435eadf76b4 35 * POSSIBILITY OF SUCH DAMAGE.
flo__ 0:b435eadf76b4 36 *---------------------------------------------------------------------------*/
flo__ 0:b435eadf76b4 37
flo__ 0:b435eadf76b4 38 /* Functions */
flo__ 0:b435eadf76b4 39 extern OS_RESULT rt_evt_wait (U16 wait_flags, U16 timeout, BOOL and_wait);
flo__ 0:b435eadf76b4 40 extern void rt_evt_set (U16 event_flags, OS_TID task_id);
flo__ 0:b435eadf76b4 41 extern void rt_evt_clr (U16 clear_flags, OS_TID task_id);
flo__ 0:b435eadf76b4 42 extern void isr_evt_set (U16 event_flags, OS_TID task_id);
flo__ 0:b435eadf76b4 43 extern U16 rt_evt_get (void);
flo__ 0:b435eadf76b4 44 extern void rt_evt_psh (P_TCB p_CB, U16 set_flags);
flo__ 0:b435eadf76b4 45
flo__ 0:b435eadf76b4 46 /*----------------------------------------------------------------------------
flo__ 0:b435eadf76b4 47 * end of file
flo__ 0:b435eadf76b4 48 *---------------------------------------------------------------------------*/
flo__ 0:b435eadf76b4 49
flo__ 0:b435eadf76b4 50
flo__ 0:b435eadf76b4 51 /** @}*/