56 #ifndef FOXBMS__PEX_CFG_H_
57 #define FOXBMS__PEX_CFG_H_
69 #define PEX_NR_OF_PORT_EXPANDERS (3u)
74 #define PEX_PORT_EXPANDER1 (0u)
75 #define PEX_PORT_EXPANDER2 (1u)
76 #define PEX_PORT_EXPANDER3 (2u)
81 #define PEX_PIN00 (0u)
82 #define PEX_PIN01 (1u)
83 #define PEX_PIN02 (2u)
84 #define PEX_PIN03 (3u)
85 #define PEX_PIN04 (4u)
86 #define PEX_PIN05 (5u)
87 #define PEX_PIN06 (6u)
88 #define PEX_PIN07 (7u)
89 #define PEX_PIN10 (8u)
90 #define PEX_PIN11 (9u)
91 #define PEX_PIN12 (10u)
92 #define PEX_PIN13 (11u)
93 #define PEX_PIN14 (12u)
94 #define PEX_PIN15 (13u)
95 #define PEX_PIN16 (14u)
96 #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]