/********************************************************************************************************************** * COPYRIGHT * ------------------------------------------------------------------------------------------------------------------- * \verbatim * * This software is copyright protected and proprietary to Vector Informatik GmbH. * Vector Informatik GmbH grants to you only those rights as set out in the license conditions. * All other rights remain with Vector Informatik GmbH. * \endverbatim * ------------------------------------------------------------------------------------------------------------------- * FILE DESCRIPTION * ------------------------------------------------------------------------------------------------------------------- * File: SchM_Com.h * Config: CBD2200592_D00_demo.dpa * ECU-Project: CBD2200592_D00_demo * * Generator: MICROSAR RTE Generator Version 4.31.0 * RTE Core Version 4.31.0 * License: CBD2201205 * * Description: Header of BSW Scheduler for BSW Module *********************************************************************************************************************/ #ifndef SCHM_COM_H # define SCHM_COM_H # ifdef __cplusplus extern "C" { # endif /* __cplusplus */ # include "SchM_Com_Type.h" # include "Os.h" /* PRQA S 0828, 0883 */ /* MD_MSR_Dir1.1, MD_Rte_Os */ # define COM_START_SEC_CODE # include "MemMap.h" /* PRQA S 5087 */ /* MD_MSR_MemMap */ FUNC(void, COM_CODE) Com_MainFunctionRx_ComMainFunctionRx(void); /* PRQA S 3451, 3449 */ /* MD_Rte_3451, MD_Rte_3449 */ FUNC(void, COM_CODE) Com_MainFunctionTx_ComMainFunctionTx(void); /* PRQA S 3451, 3449 */ /* MD_Rte_3451, MD_Rte_3449 */ # define COM_STOP_SEC_CODE # include "MemMap.h" /* PRQA S 5087 */ /* MD_MSR_MemMap */ # define SchM_Enter_Com_COM_EXCLUSIVE_AREA_BOTH() SuspendAllInterrupts() /* RteAnalyzer(ExclusiveArea, ALL_INTERRUPT_BLOCKING) */ # define SchM_Exit_Com_COM_EXCLUSIVE_AREA_BOTH() ResumeAllInterrupts() /* RteAnalyzer(ExclusiveArea, ALL_INTERRUPT_BLOCKING) */ # define SchM_Enter_Com_COM_EXCLUSIVE_AREA_RX() SuspendAllInterrupts() /* RteAnalyzer(ExclusiveArea, ALL_INTERRUPT_BLOCKING) */ # define SchM_Exit_Com_COM_EXCLUSIVE_AREA_RX() ResumeAllInterrupts() /* RteAnalyzer(ExclusiveArea, ALL_INTERRUPT_BLOCKING) */ # define SchM_Enter_Com_COM_EXCLUSIVE_AREA_TX() SuspendAllInterrupts() /* RteAnalyzer(ExclusiveArea, ALL_INTERRUPT_BLOCKING) */ # define SchM_Exit_Com_COM_EXCLUSIVE_AREA_TX() ResumeAllInterrupts() /* RteAnalyzer(ExclusiveArea, ALL_INTERRUPT_BLOCKING) */ # ifdef __cplusplus } /* extern "C" */ # endif /* __cplusplus */ #endif /* SCHM_COM_H */ /********************************************************************************************************************** MISRA 2012 violations and justifications *********************************************************************************************************************/ /* module specific MISRA deviations: MD_Rte_3449: MISRA rule: Rule8.5 Reason: Schedulable entities are declared by the RTE and also by the BSW modules. Risk: No functional risk. Prevention: Not required. MD_Rte_3451: MISRA rule: Rule8.5 Reason: Schedulable entities are declared by the RTE and also by the BSW modules. Risk: No functional risk. Prevention: Not required. MD_Rte_Os: Reason: This justification is used as summary justification for all deviations caused by the MICROSAR OS which is for testing of the RTE. Those deviations are no issues in the RTE code. Risk: No functional risk. Prevention: Not required. */