rad sensor change wip
This commit is contained in:
@ -10,11 +10,8 @@ namespace RAD_SENSOR {
|
||||
* temperature sensor.
|
||||
*/
|
||||
static const DeviceCommandId_t WRITE_SETUP = 0x1;
|
||||
static const DeviceCommandId_t START_CONVERSION = 0x2;
|
||||
static const DeviceCommandId_t PERFORM_CONVERSION = 0x2;
|
||||
static const DeviceCommandId_t READ_CONVERSIONS = 0x3;
|
||||
|
||||
static const uint32_t MAX1227_DATA_SET_ID = READ_CONVERSIONS;
|
||||
|
||||
/**
|
||||
* @brief This is the configuration byte which will be written to the setup register after
|
||||
* power on.
|
||||
@ -37,12 +34,6 @@ namespace RAD_SENSOR {
|
||||
*/
|
||||
static const uint8_t CONVERSION_DEFINITION = 0b10001001;
|
||||
|
||||
/**
|
||||
* Unipolar only required for differential measurement. Unipolar or dipolar determines the
|
||||
* voltage range.
|
||||
*/
|
||||
static const uint8_t UNIPOLAR_SETUP = 0b10000000;
|
||||
|
||||
static const uint8_t DUMMY_BYTE = 0xFF;
|
||||
|
||||
static const uint8_t RAD_SENSOR_DATA_SET_ID = READ_CONVERSIONS;
|
||||
|
Reference in New Issue
Block a user