うおーるぼっとをWiiリモコンでコントロールする新しいプログラムです。 以前のものより、Wiiリモコンが早く繋がる様になりました。 It is a program which controls A with the Wii remote. ※ A Bluetooth dongle and a Wii remote control are needed.
Dependencies: USBHost mbed FATFileSystem mbed-rtos
USBHost/mbed-rtos/rtx/RTX_Config.h@0:fccb789424fc, 2013-06-10 (annotated)
- Committer:
- jksoft
- Date:
- Mon Jun 10 16:01:50 2013 +0000
- Revision:
- 0:fccb789424fc
1.0
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jksoft | 0:fccb789424fc | 1 | /*---------------------------------------------------------------------------- |
jksoft | 0:fccb789424fc | 2 | * RL-ARM - RTX |
jksoft | 0:fccb789424fc | 3 | *---------------------------------------------------------------------------- |
jksoft | 0:fccb789424fc | 4 | * Name: RTX_CONFIG.H |
jksoft | 0:fccb789424fc | 5 | * Purpose: Exported functions of RTX_Config.c |
jksoft | 0:fccb789424fc | 6 | * Rev.: V4.60 |
jksoft | 0:fccb789424fc | 7 | *---------------------------------------------------------------------------- |
jksoft | 0:fccb789424fc | 8 | * |
jksoft | 0:fccb789424fc | 9 | * Copyright (c) 1999-2009 KEIL, 2009-2012 ARM Germany GmbH |
jksoft | 0:fccb789424fc | 10 | * All rights reserved. |
jksoft | 0:fccb789424fc | 11 | * Redistribution and use in source and binary forms, with or without |
jksoft | 0:fccb789424fc | 12 | * modification, are permitted provided that the following conditions are met: |
jksoft | 0:fccb789424fc | 13 | * - Redistributions of source code must retain the above copyright |
jksoft | 0:fccb789424fc | 14 | * notice, this list of conditions and the following disclaimer. |
jksoft | 0:fccb789424fc | 15 | * - Redistributions in binary form must reproduce the above copyright |
jksoft | 0:fccb789424fc | 16 | * notice, this list of conditions and the following disclaimer in the |
jksoft | 0:fccb789424fc | 17 | * documentation and/or other materials provided with the distribution. |
jksoft | 0:fccb789424fc | 18 | * - Neither the name of ARM nor the names of its contributors may be used |
jksoft | 0:fccb789424fc | 19 | * to endorse or promote products derived from this software without |
jksoft | 0:fccb789424fc | 20 | * specific prior written permission. |
jksoft | 0:fccb789424fc | 21 | * |
jksoft | 0:fccb789424fc | 22 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
jksoft | 0:fccb789424fc | 23 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
jksoft | 0:fccb789424fc | 24 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
jksoft | 0:fccb789424fc | 25 | * ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE |
jksoft | 0:fccb789424fc | 26 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
jksoft | 0:fccb789424fc | 27 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
jksoft | 0:fccb789424fc | 28 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
jksoft | 0:fccb789424fc | 29 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
jksoft | 0:fccb789424fc | 30 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
jksoft | 0:fccb789424fc | 31 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
jksoft | 0:fccb789424fc | 32 | * POSSIBILITY OF SUCH DAMAGE. |
jksoft | 0:fccb789424fc | 33 | *---------------------------------------------------------------------------*/ |
jksoft | 0:fccb789424fc | 34 | |
jksoft | 0:fccb789424fc | 35 | |
jksoft | 0:fccb789424fc | 36 | /* Error Codes */ |
jksoft | 0:fccb789424fc | 37 | #define OS_ERR_STK_OVF 1 |
jksoft | 0:fccb789424fc | 38 | #define OS_ERR_FIFO_OVF 2 |
jksoft | 0:fccb789424fc | 39 | #define OS_ERR_MBX_OVF 3 |
jksoft | 0:fccb789424fc | 40 | |
jksoft | 0:fccb789424fc | 41 | /* Definitions */ |
jksoft | 0:fccb789424fc | 42 | #define BOX_ALIGN_8 0x80000000 |
jksoft | 0:fccb789424fc | 43 | #define _declare_box(pool,size,cnt) U32 pool[(((size)+3)/4)*(cnt) + 3] |
jksoft | 0:fccb789424fc | 44 | #define _declare_box8(pool,size,cnt) U64 pool[(((size)+7)/8)*(cnt) + 2] |
jksoft | 0:fccb789424fc | 45 | #define _init_box8(pool,size,bsize) _init_box (pool,size,(bsize) | BOX_ALIGN_8) |
jksoft | 0:fccb789424fc | 46 | |
jksoft | 0:fccb789424fc | 47 | /* Variables */ |
jksoft | 0:fccb789424fc | 48 | extern U32 idle_task_stack[]; |
jksoft | 0:fccb789424fc | 49 | extern U32 os_fifo[]; |
jksoft | 0:fccb789424fc | 50 | extern void *os_active_TCB[]; |
jksoft | 0:fccb789424fc | 51 | |
jksoft | 0:fccb789424fc | 52 | /* Constants */ |
jksoft | 0:fccb789424fc | 53 | extern U16 const os_maxtaskrun; |
jksoft | 0:fccb789424fc | 54 | extern U32 const os_trv; |
jksoft | 0:fccb789424fc | 55 | extern U8 const os_flags; |
jksoft | 0:fccb789424fc | 56 | extern U32 const os_rrobin; |
jksoft | 0:fccb789424fc | 57 | extern U32 const os_clockrate; |
jksoft | 0:fccb789424fc | 58 | extern U32 const os_timernum; |
jksoft | 0:fccb789424fc | 59 | extern U16 const idle_task_stack_size; |
jksoft | 0:fccb789424fc | 60 | |
jksoft | 0:fccb789424fc | 61 | extern U8 const os_fifo_size; |
jksoft | 0:fccb789424fc | 62 | |
jksoft | 0:fccb789424fc | 63 | /* Functions */ |
jksoft | 0:fccb789424fc | 64 | extern void os_idle_demon (void); |
jksoft | 0:fccb789424fc | 65 | extern int os_tick_init (void); |
jksoft | 0:fccb789424fc | 66 | extern void os_tick_irqack (void); |
jksoft | 0:fccb789424fc | 67 | extern void os_tmr_call (U16 info); |
jksoft | 0:fccb789424fc | 68 | extern void os_error (U32 err_code); |
jksoft | 0:fccb789424fc | 69 | |
jksoft | 0:fccb789424fc | 70 | /*---------------------------------------------------------------------------- |
jksoft | 0:fccb789424fc | 71 | * end of file |
jksoft | 0:fccb789424fc | 72 | *---------------------------------------------------------------------------*/ |