Internal addresses, registers and constants. More...
Internal addresses, registers and constants.
Definition in file max31855_constants.h.
This graph shows which files directly or indirectly include this file: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. | |
| #define MAX31855_DATA_SIZE (4) |
Size of the data read from the MAX31855 in bytes.
Definition at line 25 of file max31855_constants.h.
| #define MAX31855_FAULT_GND_SHORT_MASK (1UL << MAX31855_FAULT_GND_SHORT_SHIFT) |
Mask value for the fault bit indicating a GND short.
Definition at line 145 of file max31855_constants.h.
| #define MAX31855_FAULT_GND_SHORT_SHIFT (1) |
Shift value for the fault bit indicating a GND short.
Definition at line 140 of file max31855_constants.h.
| #define MAX31855_FAULT_MASK |
Mask value for the fault bits.
Definition at line 160 of file max31855_constants.h.
| #define MAX31855_FAULT_OPEN_CIRCUIT_MASK (1UL << MAX31855_FAULT_OPEN_CIRCUIT_SHIFT) |
Mask value for the fault bit indicating an open circuit.
Definition at line 155 of file max31855_constants.h.
| #define MAX31855_FAULT_OPEN_CIRCUIT_SHIFT (0) |
Shift value for the fault bit indicating an open circuit.
Definition at line 150 of file max31855_constants.h.
| #define MAX31855_FAULT_VCC_SHORT_MASK (1UL << MAX31855_FAULT_VCC_SHORT_SHIFT) |
Mask value for the fault bit indicating a VCC short.
Definition at line 135 of file max31855_constants.h.
| #define MAX31855_FAULT_VCC_SHORT_SHIFT (2) |
Shift value for the fault bit indicating a VCC short.
Definition at line 130 of file max31855_constants.h.
| #define MAX31855_INTERNAL_FRACTIONAL_EIGHTH_MASK (1UL << MAX31855_INTERNAL_FRACTIONAL_EIGHTH_SHIFT) |
Shift value for the internal fractional eighth degree bit.
Definition at line 115 of file max31855_constants.h.
| #define MAX31855_INTERNAL_FRACTIONAL_EIGHTH_SHIFT (5) |
Shift value for the internal fractional eighth degree bit.
Definition at line 110 of file max31855_constants.h.
| #define MAX31855_INTERNAL_FRACTIONAL_HALF_MASK (1UL << MAX31855_INTERNAL_FRACTIONAL_HALF_SHIFT) |
Mask value for the internal fractional half degree bit.
Definition at line 95 of file max31855_constants.h.
| #define MAX31855_INTERNAL_FRACTIONAL_HALF_SHIFT (7) |
Shift value for the internal fractional half degree bit.
Definition at line 90 of file max31855_constants.h.
| #define MAX31855_INTERNAL_FRACTIONAL_QUARTER_MASK (1UL << MAX31855_INTERNAL_FRACTIONAL_QUARTER_SHIFT) |
Mask value for the internal fractional quarter degree bit.
Definition at line 105 of file max31855_constants.h.
| #define MAX31855_INTERNAL_FRACTIONAL_QUARTER_SHIFT (6) |
Shift value for the internal fractional quarter degree bit.
Definition at line 100 of file max31855_constants.h.
| #define MAX31855_INTERNAL_FRACTIONAL_SIXTEENTH_MASK (1UL << MAX31855_INTERNAL_FRACTIONAL_SIXTEENTH_SHIFT) |
Shift value for the internal fractional sixteenth degree bit.
Definition at line 125 of file max31855_constants.h.
| #define MAX31855_INTERNAL_FRACTIONAL_SIXTEENTH_SHIFT (4) |
Shift value for the internal fractional sixteenth degree bit.
Definition at line 120 of file max31855_constants.h.
| #define MAX31855_INTERNAL_INTEGER_MASK (0x7FUL << MAX31855_INTERNAL_INTEGER_SHIFT) |
Mask value for the internal integer bits.
Definition at line 85 of file max31855_constants.h.
| #define MAX31855_INTERNAL_INTEGER_SHIFT (8) |
Shift value for the internal integer bits.
Definition at line 80 of file max31855_constants.h.
| #define MAX31855_INTERNAL_SIGN_MASK (1UL << MAX31855_INTERNAL_SIGN_SHIFT) |
Mask value for the internal sign bit.
Definition at line 75 of file max31855_constants.h.
| #define MAX31855_INTERNAL_SIGN_SHIFT (15) |
Shift value for the internal sign bit.
Definition at line 70 of file max31855_constants.h.
| #define MAX31855_THERMOCOUPLE_FRACTIONAL_HALF_MASK (1UL << MAX31855_THERMOCOUPLE_FRACTIONAL_HALF_SHIFT) |
Mask value for the thermocouple fractional half degree bit.
Definition at line 55 of file max31855_constants.h.
| #define MAX31855_THERMOCOUPLE_FRACTIONAL_HALF_SHIFT (19) |
Shift value for the thermocouple fractional half degree bit.
Definition at line 50 of file max31855_constants.h.
| #define MAX31855_THERMOCOUPLE_FRACTIONAL_QUARTER_MASK (1UL << MAX31855_THERMOCOUPLE_FRACTIONAL_QUARTER_SHIFT) |
Mask value for the thermocouple fractional quarter degree bit.
Definition at line 65 of file max31855_constants.h.
| #define MAX31855_THERMOCOUPLE_FRACTIONAL_QUARTER_SHIFT (18) |
Shift value for the thermocouple fractional quarter degree bit.
Definition at line 60 of file max31855_constants.h.
| #define MAX31855_THERMOCOUPLE_INTEGER_MASK (0x7FFUL << MAX31855_THERMOCOUPLE_INTEGER_SHIFT) |
Mask value for the thermocouple integer bits.
Definition at line 45 of file max31855_constants.h.
| #define MAX31855_THERMOCOUPLE_INTEGER_SHIFT (20) |
Shift value for the thermocouple integer bits.
Definition at line 40 of file max31855_constants.h.
| #define MAX31855_THERMOCOUPLE_SIGN_MASK (1UL << MAX31855_THERMOCOUPLE_SIGN_SHIFT) |
Mask value for the thermocouple sign bit.
Definition at line 35 of file max31855_constants.h.
| #define MAX31855_THERMOCOUPLE_SIGN_SHIFT (31) |
Shift value for the thermocouple sign bit.
Definition at line 30 of file max31855_constants.h.