55 #ifndef FOXBMS__PEX_CFG_H_
56 #define FOXBMS__PEX_CFG_H_
68 #define PEX_NR_OF_PORT_EXPANDERS (3u)
73 #define PEX_PORT_EXPANDER1 (0u)
74 #define PEX_PORT_EXPANDER2 (1u)
75 #define PEX_PORT_EXPANDER3 (2u)
80 #define PEX_PIN00 (0u)
81 #define PEX_PIN01 (1u)
82 #define PEX_PIN02 (2u)
83 #define PEX_PIN03 (3u)
84 #define PEX_PIN04 (4u)
85 #define PEX_PIN05 (5u)
86 #define PEX_PIN06 (6u)
87 #define PEX_PIN07 (7u)
88 #define PEX_PIN10 (8u)
89 #define PEX_PIN11 (9u)
90 #define PEX_PIN12 (10u)
91 #define PEX_PIN13 (11u)
92 #define PEX_PIN14 (12u)
93 #define PEX_PIN15 (13u)
94 #define PEX_PIN16 (14u)
95 #define PEX_PIN17 (15u)
Configuration of the battery system (e.g., number of battery modules, battery cells,...
General macros and definitions for the whole platform.
#define PEX_NR_OF_PORT_EXPANDERS
const uint8_t pex_addressList[PEX_NR_OF_PORT_EXPANDERS]