#include <usb_uart.h>
Definition at line 48 of file usb_uart.h.
◆ RingBuffer()
esphome::usb_uart::RingBuffer::RingBuffer |
( |
uint16_t | buffer_size | ) |
|
|
inline |
◆ clear()
void esphome::usb_uart::RingBuffer::clear |
( |
| ) |
|
|
inline |
◆ get_available()
size_t esphome::usb_uart::RingBuffer::get_available |
( |
| ) |
const |
|
inline |
◆ get_free_space()
size_t esphome::usb_uart::RingBuffer::get_free_space |
( |
| ) |
const |
|
inline |
◆ is_empty()
bool esphome::usb_uart::RingBuffer::is_empty |
( |
| ) |
const |
|
inline |
◆ peek()
uint8_t esphome::usb_uart::RingBuffer::peek |
( |
| ) |
const |
|
inline |
◆ pop() [1/2]
uint8_t esphome::usb_uart::RingBuffer::pop |
( |
| ) |
|
◆ pop() [2/2]
size_t esphome::usb_uart::RingBuffer::pop |
( |
uint8_t * | data, |
|
|
size_t | len ) |
◆ push() [1/2]
void esphome::usb_uart::RingBuffer::push |
( |
const uint8_t * | data, |
|
|
size_t | len ) |
◆ push() [2/2]
void esphome::usb_uart::RingBuffer::push |
( |
uint8_t | item | ) |
|
◆ buffer_
uint8_t* esphome::usb_uart::RingBuffer::buffer_ |
|
protected |
◆ buffer_size_
uint16_t esphome::usb_uart::RingBuffer::buffer_size_ |
|
protected |
◆ insert_pos_
uint16_t esphome::usb_uart::RingBuffer::insert_pos_ = 0 |
|
protected |
◆ read_pos_
uint16_t esphome::usb_uart::RingBuffer::read_pos_ = 0 |
|
protected |
The documentation for this class was generated from the following files: