Internal addresses, registers and constants. More...
Internal addresses, registers and constants.
Definition in file max31855_constants.h.
Go to the source code of this file.
#define | MAX31855_DATA_SIZE (4) |
Size of the data read from the MAX31855 in bytes. | |
#define | MAX31855_THERMOCOUPLE_SIGN_SHIFT (31) |
Shift value for the thermocouple sign bit. | |
#define | MAX31855_THERMOCOUPLE_SIGN_MASK (1UL << MAX31855_THERMOCOUPLE_SIGN_SHIFT) |
Mask value for the thermocouple sign bit. | |
#define | MAX31855_THERMOCOUPLE_INTEGER_SHIFT (20) |
Shift value for the thermocouple integer bits. | |
#define | MAX31855_THERMOCOUPLE_INTEGER_MASK (0x7FFUL << MAX31855_THERMOCOUPLE_INTEGER_SHIFT) |
Mask value for the thermocouple integer bits. | |
#define | MAX31855_THERMOCOUPLE_FRACTIONAL_HALF_SHIFT (19) |
Shift value for the thermocouple fractional half degree bit. | |
#define | MAX31855_THERMOCOUPLE_FRACTIONAL_HALF_MASK (1UL << MAX31855_THERMOCOUPLE_FRACTIONAL_HALF_SHIFT) |
Mask value for the thermocouple fractional half degree bit. | |
#define | MAX31855_THERMOCOUPLE_FRACTIONAL_QUARTER_SHIFT (18) |
Shift value for the thermocouple fractional quarter degree bit. | |
#define | MAX31855_THERMOCOUPLE_FRACTIONAL_QUARTER_MASK (1UL << MAX31855_THERMOCOUPLE_FRACTIONAL_QUARTER_SHIFT) |
Mask value for the thermocouple fractional quarter degree bit. | |
#define | MAX31855_INTERNAL_SIGN_SHIFT (15) |
Shift value for the internal sign bit. | |
#define | MAX31855_INTERNAL_SIGN_MASK (1UL << MAX31855_INTERNAL_SIGN_SHIFT) |
Mask value for the internal sign bit. | |
#define | MAX31855_INTERNAL_INTEGER_SHIFT (8) |
Shift value for the internal integer bits. | |
#define | MAX31855_INTERNAL_INTEGER_MASK (0x7FUL << MAX31855_INTERNAL_INTEGER_SHIFT) |
Mask value for the internal integer bits. | |
#define | MAX31855_INTERNAL_FRACTIONAL_HALF_SHIFT (7) |
Shift value for the internal fractional half degree bit. | |
#define | MAX31855_INTERNAL_FRACTIONAL_HALF_MASK (1UL << MAX31855_INTERNAL_FRACTIONAL_HALF_SHIFT) |
Mask value for the internal fractional half degree bit. | |
#define | MAX31855_INTERNAL_FRACTIONAL_QUARTER_SHIFT (6) |
Shift value for the internal fractional quarter degree bit. | |
#define | MAX31855_INTERNAL_FRACTIONAL_QUARTER_MASK (1UL << MAX31855_INTERNAL_FRACTIONAL_QUARTER_SHIFT) |
Mask value for the internal fractional quarter degree bit. | |
#define | MAX31855_INTERNAL_FRACTIONAL_EIGHTH_SHIFT (5) |
Shift value for the internal fractional eighth degree bit. | |
#define | MAX31855_INTERNAL_FRACTIONAL_EIGHTH_MASK (1UL << MAX31855_INTERNAL_FRACTIONAL_EIGHTH_SHIFT) |
Shift value for the internal fractional eighth degree bit. | |
#define | MAX31855_INTERNAL_FRACTIONAL_SIXTEENTH_SHIFT (4) |
Shift value for the internal fractional sixteenth degree bit. | |
#define | MAX31855_INTERNAL_FRACTIONAL_SIXTEENTH_MASK (1UL << MAX31855_INTERNAL_FRACTIONAL_SIXTEENTH_SHIFT) |
Shift value for the internal fractional sixteenth degree bit. | |
#define | MAX31855_FAULT_VCC_SHORT_SHIFT (2) |
Shift value for the fault bit indicating a VCC short. | |
#define | MAX31855_FAULT_VCC_SHORT_MASK (1UL << MAX31855_FAULT_VCC_SHORT_SHIFT) |
Mask value for the fault bit indicating a VCC short. | |
#define | MAX31855_FAULT_GND_SHORT_SHIFT (1) |
Shift value for the fault bit indicating a GND short. | |
#define | MAX31855_FAULT_GND_SHORT_MASK (1UL << MAX31855_FAULT_GND_SHORT_SHIFT) |
Mask value for the fault bit indicating a GND short. | |
#define | MAX31855_FAULT_OPEN_CIRCUIT_SHIFT (0) |
Shift value for the fault bit indicating an open circuit. | |
#define | MAX31855_FAULT_OPEN_CIRCUIT_MASK (1UL << MAX31855_FAULT_OPEN_CIRCUIT_SHIFT) |
Mask value for the fault bit indicating an open circuit. | |
#define | MAX31855_FAULT_MASK |
Mask value for the fault bits. More... | |
#define MAX31855_FAULT_MASK |
Mask value for the fault bits.
Definition at line 164 of file max31855_constants.h.