//***************************************************************************** // (C) Automotive Lighting Reutlingen GmbH // Tuebinger Strasse 123, 72762 Reutlingen, Germany // // Automotive Lighting Reutlingen GmbH owns all the rights to this work. // This work shall not be copied, reproduced, used, modified, transferred // or its information shall not be disclosed without the prior written // authorization of Automotive Lighting Reutlingen GmbH. //***************************************************************************** //----------------------------------------------------------------------------- /// \file CddTle94x1.h /// /// \brief API for CddTle94x1 /// /// \author ZHAO, Kai ALDE-RT/EES6 /// //----------------------------------------------------------------------------- #ifndef CDD_TLE94X1_2021_03_08_H_ #define CDD_TLE94X1_2021_03_08_H_ //============================================================================= // preprocessor definitions //============================================================================= //============================================================================= // includes //============================================================================= #include //============================================================================= // definitions //============================================================================= //============================================================================= // types //============================================================================= //============================================================================= // global variable //============================================================================= //----------------------------------------------------------------------------- // Start declaration or definitions of functions //----------------------------------------------------------------------------- #define ctadCddSbc_START_SEC_CODE #include <../Cfg/CddTle94x1_MemMap.h> //============================================================================= // inline functions //============================================================================= //============================================================================= //Intern prototypes //============================================================================= /******************************************************************************/ /* Prototypes */ /******************************************************************************/ #if (CDD_SBC_CFG_INIT_OPERATION == STD_ON) void CddTle94x1_Init(void); void CddTle94x1_DeInit(void); #endif #if (CDD_SBC_CFG_SLEEPMODE == STD_ON) void CddTle94x1_SetSleepMode(void); #endif #if (CDD_SBC_CFG_CAN_OPERATION == STD_ON) void CddTle94x1_SetCanMode(uint8 ucCanChannel, uint8 ucCanMode); uint8 CddTle94x1_GetCanMode(uint8 ucCanChannel); uint8 CddTle94x1_GetCanUV(void); #endif #if (CDD_SBC_CFG_CYCLIC_OPERATION == STD_ON) boolean CddTle94x1_GetWakeUpStatus(void); void CddSbc_InsertDefaultMessage(void); void CddSbc_ScheduleTableFull(boolean boStatus); #endif #if (CDD_SBC_CFG_STORE_RESETREASON == STD_ON) uint8 CddTle94x1_GetSBCResetReason(void); #endif #if (CDD_SBC_CFG_WATCHDOG == STD_ON) void CddTle94x1_SetWdgWindowModeAnd10ms(void); void CddTle94x1_SetWdgTimeoutModeAnd200ms(void); void CddTle94x1_SetWdgWindowModeAnd200ms(void); #endif boolean CddSpi_TransferMsg(uint16 *Data, uint16 *RcData, uint8 len, uint8 Cs); uint8 Spi_Stat_Get(void); #define ctadCddSbc_STOP_SEC_CODE #include <../Cfg/CddTle94x1_MemMap.h> //----------------------------------------------------------------------------- // End declaration or definitions of functions //----------------------------------------------------------------------------- #endif // EOF CDD_TLE94X1_2021_03_08_H_