some tries to get data from max1227 in externally clocked mode
This commit is contained in:
@ -12,6 +12,7 @@ namespace SUS {
|
||||
static const DeviceCommandId_t WRITE_SETUP = 0x1;
|
||||
static const DeviceCommandId_t PERFORM_CONVERSIONS = 0x2;
|
||||
static const DeviceCommandId_t READ_TEMP = 0x3;
|
||||
static const DeviceCommandId_t RQUEST_TEMP = 0x4;
|
||||
|
||||
/**
|
||||
* @brief This is the configuration byte which will be written to the setup register after
|
||||
@ -35,9 +36,11 @@ namespace SUS {
|
||||
* Bit7: Always 1. Tells the ADC that this is the conversion register.
|
||||
*/
|
||||
static const uint8_t CONVERT_TEMPERATURE = 0b10000001;
|
||||
static const uint8_t CONVERT_DIFF_CHANNEL_0_1 = 0b10000110;
|
||||
static const uint8_t CONVERT_DIFF_CHANNEL_2_3 = 0b10010110;
|
||||
static const uint8_t CONVERT_DIFF_CHANNEL_4_5 = 0b10100110;
|
||||
static const uint8_t CONVERT_DIFF_CHANNEL_0 = 0b10000110;
|
||||
static const uint8_t CONVERT_DIFF_CHANNEL_1 = 0b10001110;
|
||||
static const uint8_t CONVERT_DIFF_CHANNEL_2 = 0b10010110;
|
||||
static const uint8_t CONVERT_DIFF_CHANNEL_3 = 0b10011110;
|
||||
static const uint8_t CONVERT_DIFF_CHANNEL_4 = 0b10100110;
|
||||
|
||||
static const uint8_t RESET_FIFO = 0b00011000;
|
||||
|
||||
|
Reference in New Issue
Block a user