From: mahi Date: Thu, 30 Aug 2012 05:05:36 +0000 (+0200) Subject: Starting 'Ticket1401-EcuM' branch X-Git-Url: http://rtime.felk.cvut.cz/gitweb/arc.git/commitdiff_plain/2cdb55c2e9a505b455b1564057e758e0e4a35917 Starting 'Ticket1401-EcuM' branch --- diff --git a/system/EcuM/EcuM.c b/system/EcuM/EcuM.c index 48b48ea8..0f905e91 100644 --- a/system/EcuM/EcuM.c +++ b/system/EcuM/EcuM.c @@ -13,8 +13,59 @@ * for more details. * -------------------------------- Arctic Core ------------------------------*/ + +/** @reqSettings DEFAULT_SPECIFICATION_REVISION=3.1.5 */ + +/* ----------------------------[information]----------------------------------*/ +/* + * Author: ?+mahi + * + * Part of Release: + * 3.1.5 + * + * Description: + * Implements the Can Driver module + * + * Support: + * General Have Support + * ------------------------------------------- + * ECUM_TTII_ENABLED N + * ECUM_DEV_ERROR_DETECT Y + * ECUM_VERSION_INFO_API Y + * ECUM_INCLUDE_DEM N (controlled by USE_x macro's instead) + * ECUM_INCLUDE_NVRAM_MGR N (controlled by USE_x macro's instead) + * ECUM_INLCUDE_DET N (controlled by USE_x macro's instead) + * ECUM_MAIN_FUNCTION_PERDIOD Y + * ECUM_TTII_WKSOURCE N + * + * Configuration Have Support + * ------------------------------------------- + * ECUM_SLEEP_ACTIVITY_PERIOD ? + * ECUM_CONFIGCONSISTENCY_HASH N + * ECUM_RUN_SELF_REQUEST_PERIOD ? + * ECUM_NVRAM_WRITEALL_TIMEOUT Y + * ECUM_DEFAULT_APP_MODE ? + * + * + * DefaultShutdownTarget + * ------------------------------------------- + * ECUM_DEFAULT_SHUTDOWN_TARGET N + * + * + * Things to start with: + * - EcuM2181 + * - EcuM2861 , Watchdog + * - ComM_EcuM_RunModeIndication() not called, See Figure 8 (Seems that the ComM does not do much either) + * + * + * + */ + //lint -emacro(904,VALIDATE,VALIDATE_RV,VALIDATE_NO_RV) //904 PC-Lint exception to MISRA 14.7 (validate macros). + +/* ----------------------------[includes]------------------------------------*/ + #include "Std_Types.h" #include "EcuM.h" #include "Modules.h" @@ -42,9 +93,17 @@ #endif +/* ----------------------------[private define]------------------------------*/ +/* ----------------------------[private macro]-------------------------------*/ +/* ----------------------------[private typedef]-----------------------------*/ +/* ----------------------------[private function prototypes]-----------------*/ +/* ----------------------------[private variables]---------------------------*/ EcuM_GlobalType internal_data; +/* ----------------------------[private functions]---------------------------*/ +/* ----------------------------[public functions]----------------------------*/ + #if !defined(USE_DET) && defined(ECUM_DEV_ERROR_DETECT) #error EcuM configuration error. DET is not enabled when ECUM_DEV_ERROR_DETECT is set #endif