#include <uart_component.h>
Definition at line 32 of file uart_component.h.
◆ add_debug_callback()
void esphome::uart::UARTComponent::add_debug_callback |
( |
std::function< void(UARTDirection, uint8_t)> && |
callback | ) |
|
|
inline |
◆ available()
virtual int esphome::uart::UARTComponent::available |
( |
| ) |
|
|
pure virtual |
◆ check_logger_conflict()
virtual void esphome::uart::UARTComponent::check_logger_conflict |
( |
| ) |
|
|
protectedpure virtual |
◆ check_read_timeout_()
bool esphome::uart::UARTComponent::check_read_timeout_ |
( |
size_t |
len = 1 | ) |
|
|
protected |
◆ flush()
virtual void esphome::uart::UARTComponent::flush |
( |
| ) |
|
|
pure virtual |
◆ get_baud_rate()
uint32_t esphome::uart::UARTComponent::get_baud_rate |
( |
| ) |
const |
|
inline |
◆ get_data_bits()
uint8_t esphome::uart::UARTComponent::get_data_bits |
( |
| ) |
const |
|
inline |
◆ get_parity()
◆ get_rx_buffer_size()
size_t esphome::uart::UARTComponent::get_rx_buffer_size |
( |
| ) |
|
|
inline |
◆ get_stop_bits()
uint8_t esphome::uart::UARTComponent::get_stop_bits |
( |
| ) |
const |
|
inline |
◆ load_settings() [1/2]
virtual void esphome::uart::UARTComponent::load_settings |
( |
bool |
dump_config | ) |
|
|
inlinevirtual |
◆ load_settings() [2/2]
virtual void esphome::uart::UARTComponent::load_settings |
( |
| ) |
|
|
inlinevirtual |
◆ peek_byte()
virtual bool esphome::uart::UARTComponent::peek_byte |
( |
uint8_t * |
data | ) |
|
|
pure virtual |
◆ read_array()
virtual bool esphome::uart::UARTComponent::read_array |
( |
uint8_t * |
data, |
|
|
size_t |
len |
|
) |
| |
|
pure virtual |
◆ read_byte()
bool esphome::uart::UARTComponent::read_byte |
( |
uint8_t * |
data | ) |
|
|
inline |
◆ set_baud_rate()
void esphome::uart::UARTComponent::set_baud_rate |
( |
uint32_t |
baud_rate | ) |
|
|
inline |
◆ set_data_bits()
void esphome::uart::UARTComponent::set_data_bits |
( |
uint8_t |
data_bits | ) |
|
|
inline |
◆ set_parity()
◆ set_rx_buffer_size()
void esphome::uart::UARTComponent::set_rx_buffer_size |
( |
size_t |
rx_buffer_size | ) |
|
|
inline |
◆ set_rx_pin()
◆ set_stop_bits()
void esphome::uart::UARTComponent::set_stop_bits |
( |
uint8_t |
stop_bits | ) |
|
|
inline |
◆ set_tx_pin()
◆ write_array() [1/2]
void esphome::uart::UARTComponent::write_array |
( |
const std::vector< uint8_t > & |
data | ) |
|
|
inline |
◆ write_array() [2/2]
virtual void esphome::uart::UARTComponent::write_array |
( |
const uint8_t * |
data, |
|
|
size_t |
len |
|
) |
| |
|
pure virtual |
◆ write_byte()
void esphome::uart::UARTComponent::write_byte |
( |
uint8_t |
data | ) |
|
|
inline |
◆ write_str()
void esphome::uart::UARTComponent::write_str |
( |
const char * |
str | ) |
|
|
inline |
◆ baud_rate_
uint32_t esphome::uart::UARTComponent::baud_rate_ |
|
protected |
◆ data_bits_
uint8_t esphome::uart::UARTComponent::data_bits_ |
|
protected |
◆ debug_callback_
◆ parity_
◆ rx_buffer_size_
size_t esphome::uart::UARTComponent::rx_buffer_size_ |
|
protected |
◆ rx_pin_
◆ stop_bits_
uint8_t esphome::uart::UARTComponent::stop_bits_ |
|
protected |
◆ tx_pin_
The documentation for this class was generated from the following files: