ESPHome 2026.2.3
Loading...
Searching...
No Matches
esphome::rtttl Namespace Reference

Data Structures

class  FinishedPlaybackTrigger
 
class  IsPlayingCondition
 
class  PlayAction
 
class  Rtttl
 
class  StopAction
 

Enumerations

enum class  State : uint8_t {
  STOPPED = 0 , INIT , STARTING , RUNNING ,
  STOPPING
}
 

Functions

double deg2rad (double degrees)
 
 PROGMEM_STRING_TABLE (RtttlStateStrings, "State::STOPPED", "State::INIT", "State::STARTING", "State::RUNNING", "State::STOPPING", "UNKNOWN")
 

Enumeration Type Documentation

◆ State

enum class esphome::rtttl::State : uint8_t
strong
Enumerator
STOPPED 
INIT 
STARTING 
RUNNING 
STOPPING 

Definition at line 16 of file rtttl.h.

Function Documentation

◆ deg2rad()

double esphome::rtttl::deg2rad ( double degrees)
inline

Definition at line 29 of file rtttl.cpp.

◆ PROGMEM_STRING_TABLE()

esphome::rtttl::PROGMEM_STRING_TABLE ( RtttlStateStrings ,
"State::STOPPED" ,
"State::INIT" ,
"State::STARTING" ,
"State::RUNNING" ,
"State::STOPPING" ,
"UNKNOWN"  )