1 /* -------------------------------- Arctic Core ------------------------------
\r
2 * Arctic Core - the open source AUTOSAR platform http://arccore.com
\r
4 * Copyright (C) 2009 ArcCore AB <contact@arccore.com>
\r
6 * This source code is free software; you can redistribute it and/or modify it
\r
7 * under the terms of the GNU General Public License version 2 as published by the
\r
8 * Free Software Foundation; See <http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt>.
\r
10 * This program is distributed in the hope that it will be useful, but
\r
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
\r
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
\r
14 * -------------------------------- Arctic Core ------------------------------*/
\r
23 #ifndef COMM_TYPES_H
\r
24 #define COMM_TYPES_H
\r
26 /** Current mode of the Communication Manager (main state of the state machine). */
\r
27 /** @req COMM484 @req COMM190 @req COMM248 */
\r
29 COMM_NO_COMMUNICATION = 0,
\r
30 COMM_SILENT_COMMUNICATION = 1,
\r
31 COMM_FULL_COMMUNICATION = 2
\r
34 /** Initialization status of ComM. */
\r
38 } ComM_InitStatusType; /**< @req COMM494 */
\r
40 /** Inhibition status of ComM. */
\r
41 typedef uint8 ComM_InhibitionStatusType; /**< @req COMM496 */
\r
43 #define COMM_INHIBITION_STATUS_NONE (0u)
\r
44 /** Wake Up inhibition active */
\r
45 #define COMM_INHIBITION_STATUS_WAKE_UP (1u)
\r
46 /** Limit to
\93No Communication
\94 mode active */
\r
47 #define COMM_INHIBITION_STATUS_NO_COMMUNICATION (uint8)(1u << 1)
\r
49 #endif /*COMM_TYPES_H*/
\r