ESPHome 2026.12.0-dev
Loading...
Searching...
No Matches
esphome::hdmi_cec Namespace Reference

Data Structures

class  Frame
 One CEC bus message: a header byte with the initiator and destination addresses, then up to 15 payload bytes of which the first is the opcode. More...
 
class  FrameRingBuffer
 A queue of frames between one producer and one consumer, for instance the receive interrupt and loop(). More...
 
class  HDMICEC
 The HDMI-CEC bus on one GPIO pin. More...
 

Functions

 ESPHOME_LOG_TAG (TAG, "hdmi_cec")
 
size_t encode_uart_body (const Frame &frame, uint8_t *out)
 The UART bytes that send a frame after its initiator address bits, at 2083 baud; returns how many it wrote to out.
 
template<typename T >
ESPHOME_ALWAYS_INLINE void atomic_set (std::atomic< T > &atom, T value)
 
template<typename T >
ESPHOME_ALWAYS_INLINE T atomic_get (const std::atomic< T > &atom)
 

Variables

const char OSD_NAME_REPLY[] PROGMEM
 

Function Documentation

◆ atomic_get()

template<typename T >
ESPHOME_ALWAYS_INLINE T esphome::hdmi_cec::atomic_get ( const std::atomic< T > & atom)
inline

Definition at line 44 of file hdmi_cec.h.

◆ atomic_set()

template<typename T >
ESPHOME_ALWAYS_INLINE void esphome::hdmi_cec::atomic_set ( std::atomic< T > & atom,
T value )
inline

Definition at line 41 of file hdmi_cec.h.

◆ encode_uart_body()

size_t esphome::hdmi_cec::encode_uart_body ( const Frame & frame,
uint8_t * out )

The UART bytes that send a frame after its initiator address bits, at 2083 baud; returns how many it wrote to out.

Definition at line 356 of file hdmi_cec.cpp.

◆ ESPHOME_LOG_TAG()

esphome::hdmi_cec::ESPHOME_LOG_TAG ( TAG ,
"hdmi_cec"  )

Variable Documentation

◆ PROGMEM

const uint8_t CLAIMED_OPCODES [] esphome::hdmi_cec::PROGMEM
extern

Definition at line 35 of file hdmi_cec.h.