//***************************************************************************** // (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 CddSwi_Cfg.h /// /// \brief Configuration of CddSwi module /// /// \author MES-LYG //----------------------------------------------------------------------------- #ifndef CDD_SWI_CFG_2022_09_25_H_ #define CDD_SWI_CFG_2022_09_25_H_ #include #define CODINGDATA_VALID (1u) #define E2E_VALID (0u) #define EFT_ALLOWED_USE 1U #define EFT_BACKUP 1U // Read Codingdata if EFT invalid. shall be undef after official release. //----------------------------------------------------------------------------- // Defines //----------------------------------------------------------------------------- // HQGIF #define CFG_BTS7200_OUTPUTS_CNT (3u) // Number of Vnd7140 outputs #define CFG_CDDBTS7200_DRIVER_CNT (2u) // Number of Bts7200 driver /* BTS72220 8 Channel */ #define CFG_SWI_OUTPUTS_CNT (8u) // Number of Switch outputs #define CFG_BTS72220_OUTPUTS_CNT (4u) // Number of each driver Bts72220 outputs #define CFG_CDDBTS72220_DRIVER_CNT (2u) // Number of Bts72220 driver #define CDDSWI_SLEEP_MODE (1u) // CddSwi sleep mode #define CDDSWI_WAKEUP_MODE (0u) // CddSwi wakeup mode //=============================================================== // SWI TYPE CONFIGURATION //=============================================================== #define CFG_SWI_None 0U #define CFG_SWI_VND7140 0x00000001U // Vnd7140 #define CFG_SWI_VN7140 0x00000010U // Vn7140 #define CFG_SWI_BTS7200 0x00000100U // Bts7200 #define CFG_SWI_BTS72220 0x00001000U // Bts72220 #define CDD_SWI_CFG_TYPE CFG_SWI_BTS72220 // HQGIF: CFG_SWI_BTS72220 #endif // CDD_SWI_CFG_2021_03_01_H_