Programme gyro_accelero avec acquisition accelero + calcul téta
Dependents: Gyro_Accelerometre2
rtx/TARGET_ARM7/rt_MemBox.h@0:07281ea3b26b, 2018-02-20 (annotated)
- Committer:
- SandrineO
- Date:
- Tue Feb 20 15:58:26 2018 +0000
- Revision:
- 0:07281ea3b26b
temps r?el
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
SandrineO | 0:07281ea3b26b | 1 | /*---------------------------------------------------------------------------- |
SandrineO | 0:07281ea3b26b | 2 | * RL-ARM - RTX |
SandrineO | 0:07281ea3b26b | 3 | *---------------------------------------------------------------------------- |
SandrineO | 0:07281ea3b26b | 4 | * Name: RT_MEMBOX.H |
SandrineO | 0:07281ea3b26b | 5 | * Purpose: Interface functions for fixed memory block management system |
SandrineO | 0:07281ea3b26b | 6 | * Rev.: V4.60 |
SandrineO | 0:07281ea3b26b | 7 | *---------------------------------------------------------------------------- |
SandrineO | 0:07281ea3b26b | 8 | * |
SandrineO | 0:07281ea3b26b | 9 | * Copyright (c) 1999-2009 KEIL, 2009-2015 ARM Germany GmbH |
SandrineO | 0:07281ea3b26b | 10 | * All rights reserved. |
SandrineO | 0:07281ea3b26b | 11 | * Redistribution and use in source and binary forms, with or without |
SandrineO | 0:07281ea3b26b | 12 | * modification, are permitted provided that the following conditions are met: |
SandrineO | 0:07281ea3b26b | 13 | * - Redistributions of source code must retain the above copyright |
SandrineO | 0:07281ea3b26b | 14 | * notice, this list of conditions and the following disclaimer. |
SandrineO | 0:07281ea3b26b | 15 | * - Redistributions in binary form must reproduce the above copyright |
SandrineO | 0:07281ea3b26b | 16 | * notice, this list of conditions and the following disclaimer in the |
SandrineO | 0:07281ea3b26b | 17 | * documentation and/or other materials provided with the distribution. |
SandrineO | 0:07281ea3b26b | 18 | * - Neither the name of ARM nor the names of its contributors may be used |
SandrineO | 0:07281ea3b26b | 19 | * to endorse or promote products derived from this software without |
SandrineO | 0:07281ea3b26b | 20 | * specific prior written permission. |
SandrineO | 0:07281ea3b26b | 21 | * |
SandrineO | 0:07281ea3b26b | 22 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
SandrineO | 0:07281ea3b26b | 23 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
SandrineO | 0:07281ea3b26b | 24 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
SandrineO | 0:07281ea3b26b | 25 | * ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE |
SandrineO | 0:07281ea3b26b | 26 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
SandrineO | 0:07281ea3b26b | 27 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
SandrineO | 0:07281ea3b26b | 28 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
SandrineO | 0:07281ea3b26b | 29 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
SandrineO | 0:07281ea3b26b | 30 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
SandrineO | 0:07281ea3b26b | 31 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
SandrineO | 0:07281ea3b26b | 32 | * POSSIBILITY OF SUCH DAMAGE. |
SandrineO | 0:07281ea3b26b | 33 | *---------------------------------------------------------------------------*/ |
SandrineO | 0:07281ea3b26b | 34 | |
SandrineO | 0:07281ea3b26b | 35 | /* Functions */ |
SandrineO | 0:07281ea3b26b | 36 | #define rt_init_box _init_box |
SandrineO | 0:07281ea3b26b | 37 | #define rt_calloc_box _calloc_box |
SandrineO | 0:07281ea3b26b | 38 | extern int _init_box (void *box_mem, U32 box_size, U32 blk_size); |
SandrineO | 0:07281ea3b26b | 39 | extern void *rt_alloc_box (void *box_mem); |
SandrineO | 0:07281ea3b26b | 40 | extern void * _calloc_box (void *box_mem); |
SandrineO | 0:07281ea3b26b | 41 | extern int rt_free_box (void *box_mem, void *box); |
SandrineO | 0:07281ea3b26b | 42 | |
SandrineO | 0:07281ea3b26b | 43 | /*---------------------------------------------------------------------------- |
SandrineO | 0:07281ea3b26b | 44 | * end of file |
SandrineO | 0:07281ea3b26b | 45 | *---------------------------------------------------------------------------*/ |
SandrineO | 0:07281ea3b26b | 46 |