/******************************************************************************* ** KPIT Technologies Limited ** ** ** ** KPIT Technologies Limited owns all the rights to this work. This ** ** work shall not be copied, reproduced, used, modified or its information ** ** disclosed without the prior written authorization of KPIT Technologies ** ** Limited. ** ** ** ** MODULE : DriverInit.c ** ** ** ** TARGET : All ** ** ** ** PRODUCT : Stub ** ** ** ** PURPOSE : Stub for AUTOSAR BSW modules ** ** ** ** PLATFORM DEPENDANT [yes/no]: no ** ** ** ** TO BE CHANGED BY USER [yes/no]: no ** ** ** *******************************************************************************/ /******************************************************************************* ** MISRA-C:2012 violations Section ** *******************************************************************************/ /******************************************************************************* ** Revision History ** ******************************************************************************** ** Revision Date By Description ** ******************************************************************************** ** 2.0.1 07-Feb-2022 KPIT Memory sections updated ** ** 2.0.0 24-Sep-2019 KPIT Port Init,PWM init moved to IoHwAb init ** ** 1.0.0 24-Sep-2019 KPIT Initial Version ** *******************************************************************************/ /******************************************************************************* ** Include Section ** *******************************************************************************/ #include "Cdd.h" #include "SleepMode.h" #include "WdgCallout.h" #include "Gpt.h" /* PRQA S 5087 EOF */ /******************************************************************************* ** Function Definitions ** *******************************************************************************/ #define CDD_START_SEC_CODE #include "MemMap.h" /******************************************************************************* ** FUNCTION NAME : Cdd_Init ** ** ** ** DESCRIPTION : Cdd Init Function ** ** ** ** PRE-CONDITIONS : None ** ** ** ** PARAMETERS : Input Parameters : None ** ** InOut Parameters : None ** ** Output Parameters : None ** ** ** ** RETURN : None ** ** ** ** Remarks : Global Variable(s) : None ** ** Function(s) invoked : Port_Init , Pwm_Init ** ** CddSpi_Init, CddSbc_Init ** ** IoHwAb_Init, Gpt_Init ** ** ** *******************************************************************************/ void Cdd_Init(void) { Port_Init(&PortConf_PortConfigSet_PortConfigSet_0); Pwm_Init(&PwmConf_PwmChannelConfigSet_PwmChannelConfigSet_0); CddSpi_Init(); CddSbc_Init(); IoHwAb_Init(); Gpt_Init(&GptConf_GptChannelConfigSet_GptChannelConfigSet_0); } #define CDD_STOP_SEC_CODE #include "MemMap.h" /******************************************************************************* ** End of File ** *******************************************************************************/