28 public spi::SPIDevice<spi::BIT_ORDER_MSB_FIRST, spi::CLOCK_POLARITY_LOW,
29 spi::CLOCK_PHASE_TRAILING, spi::DATA_RATE_4MHZ> {
35 void setup()
override;
50 void write_config_(uint8_t mask, uint8_t bits, uint8_t start_position = 0);
uint16_t read_register_16_(uint8_t reg)
void set_filter(MAX31865ConfigFilter filter)
float get_setup_priority() const override
This class simplifies creating components that periodically check a state.
void set_reference_resistance(float reference_resistance)
void write_register_(uint8_t reg, uint8_t value)
The SPIDevice is what components using the SPI will create.
float rtd_nominal_resistance_
float calc_temperature_(float rtd_ratio)
void write_config_(uint8_t mask, uint8_t bits, uint8_t start_position=0)
MAX31865ConfigFilter filter_
uint8_t read_register_(uint8_t reg)
Implementation of SPI Controller mode.
void set_num_rtd_wires(uint8_t rtd_wires)
void dump_config() override
void set_nominal_resistance(float nominal_resistance)
float reference_resistance_
Base-class for all sensors.