ESPHome  2024.11.1
Namespaces | Enumerations
i2s_audio_speaker.cpp File Reference

Go to the source code of this file.

Namespaces

 esphome
 Implementation of SPI Controller mode.
 
 esphome::i2s_audio
 

Enumerations

enum  esphome::i2s_audio::SpeakerEventGroupBits : uint32_t {
  esphome::i2s_audio::COMMAND_START = (1 << 0), esphome::i2s_audio::COMMAND_STOP = (1 << 1), esphome::i2s_audio::COMMAND_STOP_GRACEFULLY = (1 << 2), esphome::i2s_audio::STATE_STARTING = (1 << 10),
  esphome::i2s_audio::STATE_RUNNING = (1 << 11), esphome::i2s_audio::STATE_STOPPING = (1 << 12), esphome::i2s_audio::STATE_STOPPED = (1 << 13), esphome::i2s_audio::ERR_INVALID_FORMAT = (1 << 14),
  esphome::i2s_audio::ERR_TASK_FAILED_TO_START = (1 << 15), esphome::i2s_audio::ERR_ESP_INVALID_STATE = (1 << 16), esphome::i2s_audio::ERR_ESP_INVALID_ARG = (1 << 17), esphome::i2s_audio::ERR_ESP_INVALID_SIZE = (1 << 18),
  esphome::i2s_audio::ERR_ESP_NO_MEM = (1 << 19), esphome::i2s_audio::ERR_ESP_FAIL = (1 << 20), esphome::i2s_audio::ALL_ERR_ESP_BITS = ERR_ESP_INVALID_STATE | ERR_ESP_INVALID_ARG | ERR_ESP_INVALID_SIZE | ERR_ESP_NO_MEM | ERR_ESP_FAIL, esphome::i2s_audio::ALL_BITS = 0x00FFFFFF
}