9#ifdef USE_TPS65185_TEMPERATURE
47#ifdef USE_TPS65185_TEMPERATURE
50 void request_temperature();
53 void setup()
override;
92#ifdef USE_TPS65185_TEMPERATURE
Helper class to request loop() to be called as fast as possible.
Helper class to easily give an object a parent of type T.
This class simplifies creating components that periodically check a state.
This Class provides the methods to read/write bytes from/to an i2c device.
Base-class for all sensors.
TPS65185(GPIOPin *wakeup_pin, GPIOPin *pwrup_pin, GPIOPin *vcom_ctrl_pin, uint16_t vcom)
TemperatureRead temperature_read_
HighFrequencyLoopRequester high_freq_
SUB_SENSOR(temperature) void request_temperature()
void request_power(bool on)
GPIOPin * power_good_pin_
void set_power_good_pin(GPIOPin *pin)
void on_powerdown() override
PowerState get_power_state() const
bool handle_temperature_(uint32_t now)
void dump_config() override
void dump_config() override
@ CHIP_STATE_POWERING_DOWN
@ TEMPERATURE_READ_CONVERTING
@ TEMPERATURE_READ_REQUESTED