Loading...
Searching...
No Matches

Internal addresses, registers and constants. More...

Detailed Description

Internal addresses, registers and constants.

Author
Leandro Lanzieri leand.nosp@m.ro.l.nosp@m.anzie.nosp@m.ri@h.nosp@m.aw-ha.nosp@m.mbur.nosp@m.g.de

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.
 

Macro Definition Documentation

◆ MAX31855_DATA_SIZE

#define MAX31855_DATA_SIZE   (4)

Size of the data read from the MAX31855 in bytes.

Definition at line 29 of file max31855_constants.h.

◆ MAX31855_FAULT_GND_SHORT_MASK

#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 149 of file max31855_constants.h.

◆ MAX31855_FAULT_GND_SHORT_SHIFT

#define MAX31855_FAULT_GND_SHORT_SHIFT   (1)

Shift value for the fault bit indicating a GND short.

Definition at line 144 of file max31855_constants.h.

◆ MAX31855_FAULT_MASK

#define MAX31855_FAULT_MASK
Value:
#define MAX31855_FAULT_OPEN_CIRCUIT_MASK
Mask value for the fault bit indicating an open circuit.
#define MAX31855_FAULT_GND_SHORT_MASK
Mask value for the fault bit indicating a GND short.
#define MAX31855_FAULT_VCC_SHORT_MASK
Mask value for the fault bit indicating a VCC short.

Mask value for the fault bits.

Definition at line 164 of file max31855_constants.h.

◆ MAX31855_FAULT_OPEN_CIRCUIT_MASK

#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 159 of file max31855_constants.h.

◆ MAX31855_FAULT_OPEN_CIRCUIT_SHIFT

#define MAX31855_FAULT_OPEN_CIRCUIT_SHIFT   (0)

Shift value for the fault bit indicating an open circuit.

Definition at line 154 of file max31855_constants.h.

◆ MAX31855_FAULT_VCC_SHORT_MASK

#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 139 of file max31855_constants.h.

◆ MAX31855_FAULT_VCC_SHORT_SHIFT

#define MAX31855_FAULT_VCC_SHORT_SHIFT   (2)

Shift value for the fault bit indicating a VCC short.

Definition at line 134 of file max31855_constants.h.

◆ MAX31855_INTERNAL_FRACTIONAL_EIGHTH_MASK

#define MAX31855_INTERNAL_FRACTIONAL_EIGHTH_MASK   (1UL << MAX31855_INTERNAL_FRACTIONAL_EIGHTH_SHIFT)

Shift value for the internal fractional eighth degree bit.

Definition at line 119 of file max31855_constants.h.

◆ MAX31855_INTERNAL_FRACTIONAL_EIGHTH_SHIFT

#define MAX31855_INTERNAL_FRACTIONAL_EIGHTH_SHIFT   (5)

Shift value for the internal fractional eighth degree bit.

Definition at line 114 of file max31855_constants.h.

◆ MAX31855_INTERNAL_FRACTIONAL_HALF_MASK

#define MAX31855_INTERNAL_FRACTIONAL_HALF_MASK   (1UL << MAX31855_INTERNAL_FRACTIONAL_HALF_SHIFT)

Mask value for the internal fractional half degree bit.

Definition at line 99 of file max31855_constants.h.

◆ MAX31855_INTERNAL_FRACTIONAL_HALF_SHIFT

#define MAX31855_INTERNAL_FRACTIONAL_HALF_SHIFT   (7)

Shift value for the internal fractional half degree bit.

Definition at line 94 of file max31855_constants.h.

◆ MAX31855_INTERNAL_FRACTIONAL_QUARTER_MASK

#define MAX31855_INTERNAL_FRACTIONAL_QUARTER_MASK   (1UL << MAX31855_INTERNAL_FRACTIONAL_QUARTER_SHIFT)

Mask value for the internal fractional quarter degree bit.

Definition at line 109 of file max31855_constants.h.

◆ MAX31855_INTERNAL_FRACTIONAL_QUARTER_SHIFT

#define MAX31855_INTERNAL_FRACTIONAL_QUARTER_SHIFT   (6)

Shift value for the internal fractional quarter degree bit.

Definition at line 104 of file max31855_constants.h.

◆ MAX31855_INTERNAL_FRACTIONAL_SIXTEENTH_MASK

#define MAX31855_INTERNAL_FRACTIONAL_SIXTEENTH_MASK   (1UL << MAX31855_INTERNAL_FRACTIONAL_SIXTEENTH_SHIFT)

Shift value for the internal fractional sixteenth degree bit.

Definition at line 129 of file max31855_constants.h.

◆ MAX31855_INTERNAL_FRACTIONAL_SIXTEENTH_SHIFT

#define MAX31855_INTERNAL_FRACTIONAL_SIXTEENTH_SHIFT   (4)

Shift value for the internal fractional sixteenth degree bit.

Definition at line 124 of file max31855_constants.h.

◆ MAX31855_INTERNAL_INTEGER_MASK

#define MAX31855_INTERNAL_INTEGER_MASK   (0x7FUL << MAX31855_INTERNAL_INTEGER_SHIFT)

Mask value for the internal integer bits.

Definition at line 89 of file max31855_constants.h.

◆ MAX31855_INTERNAL_INTEGER_SHIFT

#define MAX31855_INTERNAL_INTEGER_SHIFT   (8)

Shift value for the internal integer bits.

Definition at line 84 of file max31855_constants.h.

◆ MAX31855_INTERNAL_SIGN_MASK

#define MAX31855_INTERNAL_SIGN_MASK   (1UL << MAX31855_INTERNAL_SIGN_SHIFT)

Mask value for the internal sign bit.

Definition at line 79 of file max31855_constants.h.

◆ MAX31855_INTERNAL_SIGN_SHIFT

#define MAX31855_INTERNAL_SIGN_SHIFT   (15)

Shift value for the internal sign bit.

Definition at line 74 of file max31855_constants.h.

◆ MAX31855_THERMOCOUPLE_FRACTIONAL_HALF_MASK

#define MAX31855_THERMOCOUPLE_FRACTIONAL_HALF_MASK   (1UL << MAX31855_THERMOCOUPLE_FRACTIONAL_HALF_SHIFT)

Mask value for the thermocouple fractional half degree bit.

Definition at line 59 of file max31855_constants.h.

◆ MAX31855_THERMOCOUPLE_FRACTIONAL_HALF_SHIFT

#define MAX31855_THERMOCOUPLE_FRACTIONAL_HALF_SHIFT   (19)

Shift value for the thermocouple fractional half degree bit.

Definition at line 54 of file max31855_constants.h.

◆ MAX31855_THERMOCOUPLE_FRACTIONAL_QUARTER_MASK

#define MAX31855_THERMOCOUPLE_FRACTIONAL_QUARTER_MASK   (1UL << MAX31855_THERMOCOUPLE_FRACTIONAL_QUARTER_SHIFT)

Mask value for the thermocouple fractional quarter degree bit.

Definition at line 69 of file max31855_constants.h.

◆ MAX31855_THERMOCOUPLE_FRACTIONAL_QUARTER_SHIFT

#define MAX31855_THERMOCOUPLE_FRACTIONAL_QUARTER_SHIFT   (18)

Shift value for the thermocouple fractional quarter degree bit.

Definition at line 64 of file max31855_constants.h.

◆ MAX31855_THERMOCOUPLE_INTEGER_MASK

#define MAX31855_THERMOCOUPLE_INTEGER_MASK   (0x7FFUL << MAX31855_THERMOCOUPLE_INTEGER_SHIFT)

Mask value for the thermocouple integer bits.

Definition at line 49 of file max31855_constants.h.

◆ MAX31855_THERMOCOUPLE_INTEGER_SHIFT

#define MAX31855_THERMOCOUPLE_INTEGER_SHIFT   (20)

Shift value for the thermocouple integer bits.

Definition at line 44 of file max31855_constants.h.

◆ MAX31855_THERMOCOUPLE_SIGN_MASK

#define MAX31855_THERMOCOUPLE_SIGN_MASK   (1UL << MAX31855_THERMOCOUPLE_SIGN_SHIFT)

Mask value for the thermocouple sign bit.

Definition at line 39 of file max31855_constants.h.

◆ MAX31855_THERMOCOUPLE_SIGN_SHIFT

#define MAX31855_THERMOCOUPLE_SIGN_SHIFT   (31)

Shift value for the thermocouple sign bit.

Definition at line 34 of file max31855_constants.h.