1 /* -------------------------------- Arctic Core ------------------------------
2 * Arctic Core - the open source AUTOSAR platform http://arccore.com
4 * Copyright (C) 2009 ArcCore AB <contact@arccore.com>
6 * This source code is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published by the
8 * Free Software Foundation; See <http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt>.
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * -------------------------------- Arctic Core ------------------------------*/
23 #ifndef MEMIF_TYPES_H_
24 #define MEMIF_TYPES_H_
28 // The underlying abstraction module or device driver has
29 // not been initialized (yet).
31 // The underlying abstraction module or device driver is
35 // The underlying abstraction module or device driver is
39 // The underlying abstraction module is busy with internal
40 // management operations. The underlying device driver
41 // can be busy or idle.
46 //The job has been finished successfully.
48 // The job has not been finished successfully.
50 // The job has not yet been finished.
52 // The job has been cancelled.
54 // The requested block is inconsistent, it may contain
56 MEMIF_BLOCK_INCONSISTENT,
57 // The requested block has been marked as invalid,
58 // the requested operation can not be performed.
61 } MemIf_JobResultType;
65 // The underlying memory abstraction modules and
66 // drivers are working in slow mode.
68 // The underlying memory abstraction modules and
69 // drivers are working in fast mode.
73 // TODO: I have no idea where the types below are specified
74 // In Eep these are defined in the header file
75 // In Fls these are not found in the spec at all..
76 typedef uint32 MemIf_AddressType;
77 typedef uint32 MemIf_LengthType;
79 #endif /*MEMIF_TYPES_H_*/