44 #define SYSTEM_POWER_BRICK1_VALID_SHIFTS 0 45 #define SYSTEM_POWER_BRICK1_VALID_MASK 1 46 #define SYSTEM_POWER_BRICK2_VALID_SHIFTS 1 47 #define SYSTEM_POWER_BRICK2_VALID_MASK 2 48 #define SYSTEM_POWER_BRICK3_VALID_SHIFTS 2 49 #define SYSTEM_POWER_BRICK3_VALID_MASK 4 50 #define SYSTEM_POWER_BRICK4_VALID_SHIFTS 3 51 #define SYSTEM_POWER_BRICK4_VALID_MASK 8 75 static constexpr uint8_t BRICK1_VALID_SHIFTS = 0;
76 static constexpr uint8_t BRICK1_VALID_MASK = 1;
77 static constexpr uint8_t BRICK2_VALID_SHIFTS = 1;
78 static constexpr uint8_t BRICK2_VALID_MASK = 2;
79 static constexpr uint8_t BRICK3_VALID_SHIFTS = 2;
80 static constexpr uint8_t BRICK3_VALID_MASK = 4;
81 static constexpr uint8_t BRICK4_VALID_SHIFTS = 3;
82 static constexpr uint8_t BRICK4_VALID_MASK = 8;
API for the uORB lightweight object broker.
ORB_DECLARE(system_power)