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.
Fork of mbed-rtos by
rtx/TARGET_CORTEX_A/RTX_Config.h@68:d3d0e710b443, 2015-03-12 (annotated)
- Committer:
- mbed_official
- Date:
- Thu Mar 12 14:31:19 2015 +0000
- Revision:
- 68:d3d0e710b443
- Parent:
- 49:77c8e4604045
- Child:
- 92:bc9729798a19
Synchronized with git revision 051854181516992fb498d51f9ee6e70cbad9e083
Full URL: https://github.com/mbedmicro/mbed/commit/051854181516992fb498d51f9ee6e70cbad9e083/
Fix ksdk mcu HAL - stopbit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 48:e9a2c7cb57a4 | 1 | /*---------------------------------------------------------------------------- |
mbed_official | 48:e9a2c7cb57a4 | 2 | * RL-ARM - RTX |
mbed_official | 48:e9a2c7cb57a4 | 3 | *---------------------------------------------------------------------------- |
mbed_official | 48:e9a2c7cb57a4 | 4 | * Name: RTX_CONFIG.H |
mbed_official | 48:e9a2c7cb57a4 | 5 | * Purpose: Exported functions of RTX_Config.c |
mbed_official | 48:e9a2c7cb57a4 | 6 | * Rev.: V4.60 |
mbed_official | 48:e9a2c7cb57a4 | 7 | *---------------------------------------------------------------------------- |
mbed_official | 48:e9a2c7cb57a4 | 8 | * |
mbed_official | 48:e9a2c7cb57a4 | 9 | * Copyright (c) 1999-2009 KEIL, 2009-2012 ARM Germany GmbH |
mbed_official | 48:e9a2c7cb57a4 | 10 | * All rights reserved. |
mbed_official | 48:e9a2c7cb57a4 | 11 | * Redistribution and use in source and binary forms, with or without |
mbed_official | 48:e9a2c7cb57a4 | 12 | * modification, are permitted provided that the following conditions are met: |
mbed_official | 48:e9a2c7cb57a4 | 13 | * - Redistributions of source code must retain the above copyright |
mbed_official | 48:e9a2c7cb57a4 | 14 | * notice, this list of conditions and the following disclaimer. |
mbed_official | 48:e9a2c7cb57a4 | 15 | * - Redistributions in binary form must reproduce the above copyright |
mbed_official | 48:e9a2c7cb57a4 | 16 | * notice, this list of conditions and the following disclaimer in the |
mbed_official | 48:e9a2c7cb57a4 | 17 | * documentation and/or other materials provided with the distribution. |
mbed_official | 68:d3d0e710b443 | 18 | * - Neither the name of ARM nor the names of its contributors may be used |
mbed_official | 68:d3d0e710b443 | 19 | * to endorse or promote products derived from this software without |
mbed_official | 48:e9a2c7cb57a4 | 20 | * specific prior written permission. |
mbed_official | 48:e9a2c7cb57a4 | 21 | * |
mbed_official | 68:d3d0e710b443 | 22 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
mbed_official | 68:d3d0e710b443 | 23 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
mbed_official | 48:e9a2c7cb57a4 | 24 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
mbed_official | 48:e9a2c7cb57a4 | 25 | * ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE |
mbed_official | 48:e9a2c7cb57a4 | 26 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
mbed_official | 68:d3d0e710b443 | 27 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
mbed_official | 68:d3d0e710b443 | 28 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
mbed_official | 68:d3d0e710b443 | 29 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
mbed_official | 68:d3d0e710b443 | 30 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
mbed_official | 48:e9a2c7cb57a4 | 31 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
mbed_official | 48:e9a2c7cb57a4 | 32 | * POSSIBILITY OF SUCH DAMAGE. |
mbed_official | 48:e9a2c7cb57a4 | 33 | *---------------------------------------------------------------------------*/ |
mbed_official | 48:e9a2c7cb57a4 | 34 | |
mbed_official | 48:e9a2c7cb57a4 | 35 | |
mbed_official | 48:e9a2c7cb57a4 | 36 | /* Error Codes */ |
mbed_official | 48:e9a2c7cb57a4 | 37 | #define OS_ERR_STK_OVF 1 |
mbed_official | 48:e9a2c7cb57a4 | 38 | #define OS_ERR_FIFO_OVF 2 |
mbed_official | 48:e9a2c7cb57a4 | 39 | #define OS_ERR_MBX_OVF 3 |
mbed_official | 48:e9a2c7cb57a4 | 40 | |
mbed_official | 48:e9a2c7cb57a4 | 41 | /* Definitions */ |
mbed_official | 48:e9a2c7cb57a4 | 42 | #define BOX_ALIGN_8 0x80000000 |
mbed_official | 48:e9a2c7cb57a4 | 43 | #define _declare_box(pool,size,cnt) U32 pool[(((size)+3)/4)*(cnt) + 3] |
mbed_official | 48:e9a2c7cb57a4 | 44 | #define _declare_box8(pool,size,cnt) U64 pool[(((size)+7)/8)*(cnt) + 2] |
mbed_official | 48:e9a2c7cb57a4 | 45 | #define _init_box8(pool,size,bsize) _init_box (pool,size,(bsize) | BOX_ALIGN_8) |
mbed_official | 48:e9a2c7cb57a4 | 46 | |
mbed_official | 48:e9a2c7cb57a4 | 47 | /* Variables */ |
mbed_official | 48:e9a2c7cb57a4 | 48 | extern U32 mp_tcb[]; |
mbed_official | 48:e9a2c7cb57a4 | 49 | extern U64 mp_stk[]; |
mbed_official | 48:e9a2c7cb57a4 | 50 | extern U32 os_fifo[]; |
mbed_official | 48:e9a2c7cb57a4 | 51 | extern void *os_active_TCB[]; |
mbed_official | 48:e9a2c7cb57a4 | 52 | |
mbed_official | 48:e9a2c7cb57a4 | 53 | /* Constants */ |
mbed_official | 48:e9a2c7cb57a4 | 54 | extern U16 const os_maxtaskrun; |
mbed_official | 48:e9a2c7cb57a4 | 55 | extern U32 const os_trv; |
mbed_official | 48:e9a2c7cb57a4 | 56 | extern U8 const os_flags; |
mbed_official | 48:e9a2c7cb57a4 | 57 | extern U32 const os_stackinfo; |
mbed_official | 48:e9a2c7cb57a4 | 58 | extern U32 const os_rrobin; |
mbed_official | 48:e9a2c7cb57a4 | 59 | extern U32 const os_clockrate; |
mbed_official | 48:e9a2c7cb57a4 | 60 | extern U32 const os_timernum; |
mbed_official | 48:e9a2c7cb57a4 | 61 | extern U16 const mp_tcb_size; |
mbed_official | 48:e9a2c7cb57a4 | 62 | extern U32 const mp_stk_size; |
mbed_official | 48:e9a2c7cb57a4 | 63 | extern U32 const *m_tmr; |
mbed_official | 48:e9a2c7cb57a4 | 64 | extern U16 const mp_tmr_size; |
mbed_official | 48:e9a2c7cb57a4 | 65 | extern U8 const os_fifo_size; |
mbed_official | 48:e9a2c7cb57a4 | 66 | |
mbed_official | 48:e9a2c7cb57a4 | 67 | /* Functions */ |
mbed_official | 48:e9a2c7cb57a4 | 68 | extern void os_idle_demon (void); |
mbed_official | 48:e9a2c7cb57a4 | 69 | extern int os_tick_init (void); |
mbed_official | 48:e9a2c7cb57a4 | 70 | extern void os_tick_irqack (void); |
mbed_official | 48:e9a2c7cb57a4 | 71 | extern void os_tmr_call (U16 info); |
mbed_official | 48:e9a2c7cb57a4 | 72 | extern void os_error (U32 err_code); |
mbed_official | 48:e9a2c7cb57a4 | 73 | |
mbed_official | 48:e9a2c7cb57a4 | 74 | /*---------------------------------------------------------------------------- |
mbed_official | 48:e9a2c7cb57a4 | 75 | * end of file |
mbed_official | 48:e9a2c7cb57a4 | 76 | *---------------------------------------------------------------------------*/ |