//***************************************************************************** // (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 CddBts7200.h /// /// \brief API for CddBts7200 /// /// \author ZHAO, Kai ALDE-RT/EES6 //----------------------------------------------------------------------------- #ifndef CDD_BTS7200_2021_03_01_H_ #define CDD_BTS7200_2021_03_01_H_ //============================================================================= // Includes //============================================================================= #include #include <../Cfg/CddBts7200_Cfg.h> #include <../Gen/CddBts7200_Types.h> //----------------------------------------------------------------------------- // Start declaration or definitions of functions //----------------------------------------------------------------------------- #define ctadCddSwi_START_SEC_CODE #include <../Cfg/CddBts7200_MemMap.h> //============================================================================= // API- functions //============================================================================= void CddBts7200_Init(const uint32 ulChipIdx); void CddBts7200_Cycle10ms(void); void CddBts7200_DeInit(const uint32 ulChipIdx); void CddBts7200_SetTgt(const uint32 ulChipIdx, const uint32 ulOutIdx, const uint16 unTgtVal); // 0 - 32768 = 0% - 100% tisCddDrvStatus CddBts7200_GetState(const uint32 ulChipIdx, const uint32 ulOutIdx); #define ctadCddSwi_STOP_SEC_CODE #include <../Cfg/CddBts7200_MemMap.h> //----------------------------------------------------------------------------- // End declaration or definitions of functions //----------------------------------------------------------------------------- #endif // CDD_BTS7200_2021_03_01_H_