Robin Mueller
ce41b3316c
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
20 lines
380 B
C++
20 lines
380 B
C++
#ifndef MISSION_DEVICES_MAX1227_H_
|
|
#define MISSION_DEVICES_MAX1227_H_
|
|
|
|
#include <cstdint>
|
|
|
|
namespace max1227 {
|
|
|
|
enum ScanModes : uint8_t {
|
|
CHANNELS_0_TO_N = 0b00,
|
|
CHANNEL_N_TO_HIGHEST = 0b01,
|
|
N_REPEATEDLY = 0b10,
|
|
N_ONCE = 0b11
|
|
};
|
|
|
|
uint8_t buildConvByte(ScanModes scanMode, uint8_t channel, bool readTemp);
|
|
|
|
} // namespace max1227
|
|
|
|
#endif /* MISSION_DEVICES_MAX1227_H_ */
|