00001 /* 00002 * Copyright (C) 2003-2009 Olivier Boudeville 00003 * 00004 * This file is part of the Ceylan library. 00005 * 00006 * The Ceylan library is free software: you can redistribute it and/or modify 00007 * it under the terms of either the GNU Lesser General Public License or 00008 * the GNU General Public License, as they are published by the Free Software 00009 * Foundation, either version 3 of these Licenses, or (at your option) 00010 * any later version. 00011 * 00012 * The Ceylan library is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 * GNU Lesser General Public License and the GNU General Public License 00016 * for more details. 00017 * 00018 * You should have received a copy of the GNU Lesser General Public 00019 * License and the GNU General Public License along with the Ceylan library. 00020 * If not, see <http://www.gnu.org/licenses/>. 00021 * 00022 * Author: Olivier Boudeville (olivier.boudeville@esperide.com) 00023 * 00024 */ 00025 00026 00027 #ifndef CEYLAN_IPC_COMMANDS_H_ 00028 #define CEYLAN_IPC_COMMANDS_H_ 00029 00030 00031 #include "CeylanARM7Codes.h" // for FIFOCommandID 00032 00033 00067 typedef FIFOCommandID ARM9CommandID ; 00068 00069 00070 00071 00072 // Section dedicated to commands from the ARM9 to the ARM7. 00073 00074 00082 extern CEYLAN_DLL const ARM9CommandID HelloToTheARM7 ; 00083 00084 00085 00094 extern CEYLAN_DLL const ARM9CommandID PingARM7 ; 00095 00096 00097 00106 extern CEYLAN_DLL const ARM9CommandID StatusInitRequest ; 00107 00108 00109 00117 extern CEYLAN_DLL const ARM9CommandID ShutdownIPCRequest ; 00118 00119 00120 00130 extern CEYLAN_DLL const ARM9CommandID BatteryStatusRequest ; 00131 00132 00133 00143 extern CEYLAN_DLL const ARM9CommandID DSTypeRequest ; 00144 00145 00146 00147 00149 00150 00151 00152 // Section dedicated to commands from the ARM7 to the ARM9. 00153 00154 00159 typedef FIFOCommandID ARM7CommandID ; 00160 00161 00162 00170 extern CEYLAN_DLL const ARM7CommandID HelloToTheARM9 ; 00171 00172 00181 extern CEYLAN_DLL const ARM7CommandID PongARM9 ; 00182 00183 00190 extern CEYLAN_DLL const ARM7CommandID BatteryStatusAnswer ; 00191 00192 00199 extern CEYLAN_DLL const ARM7CommandID DSTypeAnswer ; 00200 00201 00202 00203 #endif // CEYLAN_IPC_COMMANDS_H_ 00204