ESPHome  2024.4.1
Namespaces | Variables
whynter.cpp File Reference

Go to the source code of this file.

Namespaces

 esphome
 This is a workaround until we can figure out a way to get the tflite-micro idf component code available in CI.
 
 esphome::whynter
 

Variables

const uint16_t esphome::whynter::BITS = 32
 
const uint32_t esphome::whynter::COMMAND_MASK = 0xFF << 24
 
const uint32_t esphome::whynter::COMMAND_CODE = 0x12 << 24
 
const uint32_t esphome::whynter::POWER_SHIFT = 8
 
const uint32_t esphome::whynter::POWER_MASK = 1 << POWER_SHIFT
 
const uint32_t esphome::whynter::POWER_OFF = 0 << POWER_SHIFT
 
const uint32_t esphome::whynter::MODE_SHIFT = 16
 
const uint32_t esphome::whynter::MODE_MASK = 0b1111 << MODE_SHIFT
 
const uint32_t esphome::whynter::MODE_FAN = 0b0001 << MODE_SHIFT
 
const uint32_t esphome::whynter::MODE_DRY = 0b0010 << MODE_SHIFT
 
const uint32_t esphome::whynter::MODE_HEAT = 0b0100 << MODE_SHIFT
 
const uint32_t esphome::whynter::MODE_COOL = 0b1000 << MODE_SHIFT
 
const uint32_t esphome::whynter::FAN_SHIFT = 20
 
const uint32_t esphome::whynter::FAN_MASK = 0b111 << FAN_SHIFT
 
const uint32_t esphome::whynter::FAN_HIGH = 0b001 << FAN_SHIFT
 
const uint32_t esphome::whynter::FAN_MED = 0b010 << FAN_SHIFT
 
const uint32_t esphome::whynter::FAN_LOW = 0b100 << FAN_SHIFT
 
const uint32_t esphome::whynter::UNIT_SHIFT = 10
 
const uint32_t esphome::whynter::UNIT_MASK = 1 << UNIT_SHIFT
 
const uint32_t esphome::whynter::TEMP_MASK = 0xFF
 
const uint32_t esphome::whynter::TEMP_OFFSET_C = 16