ESPHome  2024.10.2
Data Structures | Enumerations
esphome::max31856 Namespace Reference

Data Structures

class  MAX31856Sensor
 

Enumerations

enum  MAX31856RegisterMasks { SPI_WRITE_M = 0x80 }
 
enum  MAX31856Registers {
  MAX31856_CR0_REG = 0x00, MAX31856_CR0_AUTOCONVERT = 0x80, MAX31856_CR0_1SHOT = 0x40, MAX31856_CR0_OCFAULT00 = 0x00,
  MAX31856_CR0_OCFAULT01 = 0x10, MAX31856_CR0_OCFAULT10 = 0x20, MAX31856_CR0_CJ = 0x08, MAX31856_CR0_FAULT = 0x04,
  MAX31856_CR0_FAULTCLR = 0x02, MAX31856_CR1_REG = 0x01, MAX31856_MASK_REG = 0x02, MAX31856_CJHF_REG = 0x03,
  MAX31856_CJLF_REG = 0x04, MAX31856_LTHFTH_REG = 0x05, MAX31856_LTHFTL_REG = 0x06, MAX31856_LTLFTH_REG = 0x07,
  MAX31856_LTLFTL_REG = 0x08, MAX31856_CJTO_REG = 0x09, MAX31856_CJTH_REG = 0x0A, MAX31856_CJTL_REG = 0x0B,
  MAX31856_LTCBH_REG = 0x0C, MAX31856_LTCBM_REG = 0x0D, MAX31856_LTCBL_REG = 0x0E, MAX31856_SR_REG = 0x0F,
  MAX31856_FAULT_CJRANGE = 0x80, MAX31856_FAULT_TCRANGE = 0x40, MAX31856_FAULT_CJHIGH = 0x20, MAX31856_FAULT_CJLOW = 0x10,
  MAX31856_FAULT_TCHIGH = 0x08, MAX31856_FAULT_TCLOW = 0x04, MAX31856_FAULT_OVUV = 0x02, MAX31856_FAULT_OPEN = 0x01
}
 
enum  MAX31856ThermocoupleType {
  MAX31856_TCTYPE_B = 0b0000, MAX31856_TCTYPE_E = 0b0001, MAX31856_TCTYPE_J = 0b0010, MAX31856_TCTYPE_K = 0b0011,
  MAX31856_TCTYPE_N = 0b0100, MAX31856_TCTYPE_R = 0b0101, MAX31856_TCTYPE_S = 0b0110, MAX31856_TCTYPE_T = 0b0111,
  MAX31856_VMODE_G8 = 0b1000, MAX31856_VMODE_G32 = 0b1100
}
 Multiple types of thermocouples supported by the chip. More...
 
enum  MAX31856ConfigFilter { FILTER_60HZ = 0, FILTER_50HZ = 1 }
 

Enumeration Type Documentation

◆ MAX31856ConfigFilter

Enumerator
FILTER_60HZ 
FILTER_50HZ 

Definition at line 67 of file max31856.h.

◆ MAX31856RegisterMasks

Enumerator
SPI_WRITE_M 

Definition at line 12 of file max31856.h.

◆ MAX31856Registers

Enumerator
MAX31856_CR0_REG 

Config 0 register.

MAX31856_CR0_AUTOCONVERT 

Config 0 Auto convert flag.

MAX31856_CR0_1SHOT 

Config 0 one shot convert flag.

MAX31856_CR0_OCFAULT00 

Config 0 open circuit fault 00 flag.

MAX31856_CR0_OCFAULT01 

Config 0 open circuit fault 01 flag.

MAX31856_CR0_OCFAULT10 

Config 0 open circuit fault 10 flag.

MAX31856_CR0_CJ 

Config 0 cold junction disable flag.

MAX31856_CR0_FAULT 

Config 0 fault mode flag.

MAX31856_CR0_FAULTCLR 

Config 0 fault clear flag.

MAX31856_CR1_REG 

Config 1 register.

MAX31856_MASK_REG 

Fault Mask register.

MAX31856_CJHF_REG 

Cold junction High temp fault register.

MAX31856_CJLF_REG 

Cold junction Low temp fault register.

MAX31856_LTHFTH_REG 

Linearized Temperature High Fault Threshold Register, MSB.

MAX31856_LTHFTL_REG 

Linearized Temperature High Fault Threshold Register, LSB.

MAX31856_LTLFTH_REG 

Linearized Temperature Low Fault Threshold Register, MSB.

MAX31856_LTLFTL_REG 

Linearized Temperature Low Fault Threshold Register, LSB.

MAX31856_CJTO_REG 

Cold-Junction Temperature Offset Register.

MAX31856_CJTH_REG 

Cold-Junction Temperature Register, MSB.

MAX31856_CJTL_REG 

Cold-Junction Temperature Register, LSB.

MAX31856_LTCBH_REG 

Linearized TC Temperature, Byte 2.

MAX31856_LTCBM_REG 

Linearized TC Temperature, Byte 1.

MAX31856_LTCBL_REG 

Linearized TC Temperature, Byte 0.

MAX31856_SR_REG 

Fault Status Register.

MAX31856_FAULT_CJRANGE 

Fault status Cold Junction Out-of-Range flag.

MAX31856_FAULT_TCRANGE 

Fault status Thermocouple Out-of-Range flag.

MAX31856_FAULT_CJHIGH 

Fault status Cold-Junction High Fault flag.

MAX31856_FAULT_CJLOW 

Fault status Cold-Junction Low Fault flag.

MAX31856_FAULT_TCHIGH 

Fault status Thermocouple Temperature High Fault flag.

MAX31856_FAULT_TCLOW 

Fault status Thermocouple Temperature Low Fault flag.

MAX31856_FAULT_OVUV 

Fault status Overvoltage or Undervoltage Input Fault flag.

MAX31856_FAULT_OPEN 

Fault status Thermocouple Open-Circuit Fault flag.

Definition at line 14 of file max31856.h.

◆ MAX31856ThermocoupleType

Multiple types of thermocouples supported by the chip.

Enumerator
MAX31856_TCTYPE_B 
MAX31856_TCTYPE_E 
MAX31856_TCTYPE_J 
MAX31856_TCTYPE_K 
MAX31856_TCTYPE_N 
MAX31856_TCTYPE_R 
MAX31856_TCTYPE_S 
MAX31856_TCTYPE_T 
MAX31856_VMODE_G8 
MAX31856_VMODE_G32 

Definition at line 54 of file max31856.h.