//***************************************************************************** // (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 CddMlcGen_Coding.h /// /// \brief Coding data structure. /// /// \descr /// //----------------------------------------------------------------------------- #ifndef __CDDMLCGEN_CODING_H_05_10_2020__ #define __CDDMLCGEN_CODING_H_05_10_2020__ //============================================================================= // Includes //============================================================================= #include "Std_Types.h" //#include //============================================================================= // Types //============================================================================= typedef struct { uint8 ucMlcCanUartInterface; //Values: 0.. 1 ~0= CAN2(PriV-CAN) ; 1= CAN3(SAT-CANFD) ~1 Bit für jeden MLC (0…7) ~ Origin: FLK uint8 ucMlcCanUartAddress[CFG_MAX_NO_OF_MLC]; //Values: 0.. 31 ~ 0= kein MLC;TPS92662A&TPS92663A (TI) Addr. 1…7 are allowed; ASL5115SHN(NXP) Extended ID = 1..31 are allowed ~ Origin: FLK uint8 ucMlcOvertempDebounceTime; //Unit: 100ms ~ Values: 0.. 25,5s ~ Debounce Time of MLC when Overtemperature is detected ~ Herkunft: FLK uint8 ucMlcReactivationTimeAfterShutdown; //Unit: s ~ Values: 0.. 255 ~ Time to the first attempt to turn on the MLC again after an overtemp shutdown, 0 = disabled ~ Origin: FLK uint8 ucMlcOcScRetryCounter; //Values: 0.. 255 ~ amount of times to read a failure from a segment in one driving cycle before setting failure ~ Origin: FLK uint8 ucMlcOcScRetryDelay; //Unit: 10ms ~Values 0..255 (0.. 2550ms)~ Time to wait before reseting the segments failure bits ~ Origin: FLK uint8 ucMlcMatrixType; //Values: 0..15 ~ which MLC controller is used; 0: Matrix disabled;1:TPS92662A-Q1(TI);2:TPS92663A-Q1(TI);3: ASL5115SHN(NXP) Origin: FLK uint8 ucMlcMatrixCount; uint8 ucMlcSwitchsSupported; }sCddMlcGenCodingData; //============================================================================= // Definition //============================================================================= /* MLC BUS */ #define CDDMLC_GEN_CODING_MATRIX_INTERFACE_PRIVATE_CAN 0U #define CDDMLC_GEN_CODING_MATRIX_INTERFACE_SATELLITE_CAN 1U /* MLC TYPE */ #define CDDMLC_GEN_CODING_MATRIX_MLC_TYPE_DISABLED 0U #define CDDMLC_GEN_CODING_MATRIX_MLC_TYPE_TPS92662A 1U #define CDDMLC_GEN_CODING_MATRIX_MLC_TYPE_TPS92663A 2U #define CDDMLC_GEN_CODING_MATRIX_MLC_TYPE_NXP 3U #endif