ESPHome  2024.11.3
Public Member Functions | Protected Attributes
esphome::midea::UARTStream Class Reference

#include <appliance_base.h>

Inheritance diagram for esphome::midea::UARTStream:

Public Member Functions

void set_uart (uart::UARTComponent *uart)
 
int available () override
 
int read () override
 
int peek () override
 
size_t write (uint8_t data) override
 
size_t write (const uint8_t *data, size_t size) override
 
void flush () override
 

Protected Attributes

uart::UARTComponentuart_
 

Detailed Description

Definition at line 22 of file appliance_base.h.

Member Function Documentation

◆ available()

int esphome::midea::UARTStream::available ( )
inlineoverride

Definition at line 28 of file appliance_base.h.

◆ flush()

void esphome::midea::UARTStream::flush ( )
inlineoverride

Definition at line 47 of file appliance_base.h.

◆ peek()

int esphome::midea::UARTStream::peek ( )
inlineoverride

Definition at line 34 of file appliance_base.h.

◆ read()

int esphome::midea::UARTStream::read ( )
inlineoverride

Definition at line 29 of file appliance_base.h.

◆ set_uart()

void esphome::midea::UARTStream::set_uart ( uart::UARTComponent uart)
inline

Definition at line 24 of file appliance_base.h.

◆ write() [1/2]

size_t esphome::midea::UARTStream::write ( uint8_t  data)
inlineoverride

Definition at line 39 of file appliance_base.h.

◆ write() [2/2]

size_t esphome::midea::UARTStream::write ( const uint8_t *  data,
size_t  size 
)
inlineoverride

Definition at line 43 of file appliance_base.h.

Field Documentation

◆ uart_

uart::UARTComponent* esphome::midea::UARTStream::uart_
protected

Definition at line 50 of file appliance_base.h.


The documentation for this class was generated from the following file: