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 of 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 #include "CeylanARM7Codes.h" 00028 00029 00030 00037 const ARM7StatusWord StatusVoluntarilyLeftBlank = 0 ; 00038 const ARM7StatusWord ARM7Running = 1 ; 00039 const ARM7StatusWord ARM7InError = 2 ; 00040 const ARM7StatusWord ARM7IPCShutdown = 3 ; 00041 const ARM7StatusWord NoStatusAvailable = 4 ; 00042 const ARM7StatusWord NoStatusVariableAvailable = 5 ; 00043 const ARM7StatusWord StatusReset = 6 ; 00044 00045 00046 00047 00055 const ARM7ErrorCode ErrorVoluntarilyLeftBlank = 0 ; 00056 const ARM7ErrorCode UnexpectedSystemCommand = 1 ; 00057 const ARM7ErrorCode UnexpectedExternalLibraryCommand = 2 ; 00058 const ARM7ErrorCode UnexpectedApplicationCommand = 3 ; 00059 const ARM7ErrorCode FIFOErrorWhileReading = 4 ; 00060 const ARM7ErrorCode FIFOErrorWhileWriting = 5 ; 00061 const ARM7ErrorCode NoError = 6 ; 00062 const ARM7ErrorCode NoErrorVariableAvailable = 7 ; 00063 const ARM7ErrorCode CommandOverlapping = 8 ; 00064 const ARM7ErrorCode UnexpectedBehaviour = 9 ; 00065 const ARM7ErrorCode IPCAlreadyStarted = 10 ; 00066 const ARM7ErrorCode IPCAlreadyStopped = 11 ; 00067 const ARM7ErrorCode AwokenWithNothingToRead = 12 ; 00068 const ARM7ErrorCode IncorrectInitialStatus = 13 ; 00069 const ARM7ErrorCode IncorrectInitialError = 14 ; 00070 const ARM7ErrorCode NoErrorAvailable = 15 ; 00071 const ARM7ErrorCode UnexpectedCommandCount = 16 ; 00072 const ARM7ErrorCode IncorrectApplicationAnswer = 17 ; 00073 const ARM7ErrorCode FIFOTimeOutWhileReading = 18 ; 00074 const ARM7ErrorCode FIFOTimeOutWhileWriting = 19 ; 00075