#include <uart.h>
Definition at line 12 of file uart.h.
◆ UARTDevice() [1/2]
esphome::uart::UARTDevice::UARTDevice |
( |
| ) |
|
|
default |
◆ UARTDevice() [2/2]
◆ available()
int esphome::uart::UARTDevice::available |
( |
| ) |
|
|
inline |
◆ check_uart_settings()
Check that the configuration of the UART bus matches the provided values and otherwise print a warning.
Definition at line 13 of file uart.cpp.
◆ flush()
void esphome::uart::UARTDevice::flush |
( |
| ) |
|
|
inline |
◆ peek()
int esphome::uart::UARTDevice::peek |
( |
| ) |
|
|
inline |
◆ peek_byte()
bool esphome::uart::UARTDevice::peek_byte |
( |
uint8_t * |
data | ) |
|
|
inline |
◆ read()
int esphome::uart::UARTDevice::read |
( |
| ) |
|
|
inline |
◆ read_array() [1/2]
bool esphome::uart::UARTDevice::read_array |
( |
uint8_t * |
data, |
|
|
size_t |
len |
|
) |
| |
|
inline |
◆ read_array() [2/2]
template<size_t N>
optional<std::array<uint8_t, N> > esphome::uart::UARTDevice::read_array |
( |
| ) |
|
|
inline |
◆ read_byte()
bool esphome::uart::UARTDevice::read_byte |
( |
uint8_t * |
data | ) |
|
|
inline |
◆ set_uart_parent()
void esphome::uart::UARTDevice::set_uart_parent |
( |
UARTComponent * |
parent | ) |
|
|
inline |
◆ write()
size_t esphome::uart::UARTDevice::write |
( |
uint8_t |
data | ) |
|
|
inline |
◆ write_array() [1/3]
void esphome::uart::UARTDevice::write_array |
( |
const uint8_t * |
data, |
|
|
size_t |
len |
|
) |
| |
|
inline |
◆ write_array() [2/3]
void esphome::uart::UARTDevice::write_array |
( |
const std::vector< uint8_t > & |
data | ) |
|
|
inline |
◆ write_array() [3/3]
template<size_t N>
void esphome::uart::UARTDevice::write_array |
( |
const std::array< uint8_t, N > & |
data | ) |
|
|
inline |
◆ write_byte()
void esphome::uart::UARTDevice::write_byte |
( |
uint8_t |
data | ) |
|
|
inline |
◆ write_str()
void esphome::uart::UARTDevice::write_str |
( |
const char * |
str | ) |
|
|
inline |
◆ parent_
The documentation for this class was generated from the following files:
- /opt/build/esphome/esphome/components/uart/uart.h
- /opt/build/esphome/esphome/components/uart/uart.cpp