ESPHome  2024.11.0
Namespaces | Variables
yashima.cpp File Reference

Go to the source code of this file.

Namespaces

 esphome
 Implementation of SPI Controller mode.
 
 esphome::yashima
 

Variables

const uint16_t esphome::yashima::YASHIMA_STATE_LENGTH = 9
 
const uint16_t esphome::yashima::YASHIMA_BITS = YASHIMA_STATE_LENGTH * 8
 
const uint8_t esphome::yashima::YASHIMA_MODE_HEAT_BYTE0 = 0b00100000
 
const uint8_t esphome::yashima::YASHIMA_MODE_DRY_BYTE0 = 0b01100000
 
const uint8_t esphome::yashima::YASHIMA_MODE_COOL_BYTE0 = 0b11100000
 
const uint8_t esphome::yashima::YASHIMA_MODE_FAN_BYTE0 = 0b10100000
 
const uint8_t esphome::yashima::YASHIMA_MODE_AUTO_BYTE0 = 0b11100000
 
const uint8_t esphome::yashima::YASHIMA_MODE_OFF_BYTE0 = 0b11110000
 
const uint8_t esphome::yashima::YASHIMA_BASE_BYTE0 = 0b1110
 
const uint8_t esphome::yashima::YASHIMA_TEMP_MAX = 30
 
const uint8_t esphome::yashima::YASHIMA_TEMP_MIN = 16
 
const uint8_t esphome::yashima::YASHIMA_TEMP_RANGE = YASHIMA_TEMP_MAX - YASHIMA_TEMP_MIN + 1
 
const uint8_t esphome::yashima::YASHIMA_TEMP_MAP_BYTE1 [YASHIMA_TEMP_RANGE]
 
const uint8_t esphome::yashima::YASHIMA_BASE_BYTE1 = 0b11
 
const uint8_t esphome::yashima::YASHIMA_FAN_AUTO_BYTE2 = 0b11000000
 
const uint8_t esphome::yashima::YASHIMA_FAN_LOW_BYTE2 = 0b00000000
 
const uint8_t esphome::yashima::YASHIMA_FAN_MEDIUM_BYTE2 = 0b10000000
 
const uint8_t esphome::yashima::YASHIMA_FAN_HIGH_BYTE2 = 0b01000000
 
const uint8_t esphome::yashima::YASHIMA_BASE_BYTE2 = 0b111111
 
const uint8_t esphome::yashima::YASHIMA_BASE_BYTE3 = 0b11111111
 
const uint8_t esphome::yashima::YASHIMA_BASE_BYTE4 = 0b11
 
const uint8_t esphome::yashima::YASHIMA_MODE_HEAT_BYTE5 = 0b00000000
 
const uint8_t esphome::yashima::YASHIMA_MODE_DRY_BYTE5 = 0b00000000
 
const uint8_t esphome::yashima::YASHIMA_MODE_FAN_BYTE5 = 0b00000000
 
const uint8_t esphome::yashima::YASHIMA_MODE_AUTO_BYTE5 = 0b00000000
 
const uint8_t esphome::yashima::YASHIMA_MODE_COOL_BYTE5 = 0b10000000
 
const uint8_t esphome::yashima::YASHIMA_MODE_OFF_BYTE5 = 0b10000000
 
const uint8_t esphome::yashima::YASHIMA_BASE_BYTE5 = 0b11111
 
const uint8_t esphome::yashima::YASHIMA_BASE_BYTE6 = 0b11111111
 
const uint8_t esphome::yashima::YASHIMA_BASE_BYTE7 = 0b11111111
 
const uint8_t esphome::yashima::YASHIMA_BASE_BYTE8 = 0b11001111
 
const uint16_t esphome::yashima::YASHIMA_HEADER_MARK = 9035
 
const uint16_t esphome::yashima::YASHIMA_HEADER_SPACE = 4517
 
const uint16_t esphome::yashima::YASHIMA_BIT_MARK = 667
 
const uint16_t esphome::yashima::YASHIMA_ONE_SPACE = 517
 
const uint16_t esphome::yashima::YASHIMA_ZERO_SPACE = 1543
 
const uint32_t esphome::yashima::YASHIMA_GAP = YASHIMA_HEADER_SPACE
 
const uint32_t esphome::yashima::YASHIMA_CARRIER_FREQUENCY = 38000