C/C++ API Reference
Loading...
Searching...
No Matches
pw::uart::UartBase Class Referenceabstract

Overview

The common abstract base class of the UART interface.

The UartBase interface provides basic method for enabling and configuring a UART. Methods for actually communicating via the UART are on the Uart and UartNonBlocking child classes.

Inheritance diagram for pw::uart::UartBase:
pw::uart::Uart pw::uart::UartNonBlocking pw::uart::UartBlockingAdapter

Public Member Functions

Status Enable ()
 
Status Disable ()
 
Status SetBaudRate (uint32_t baud_rate)
 
Status SetFlowControl (bool enable)
 
size_t ConservativeReadAvailable ()
 
Status ClearPendingReceiveBytes ()
 

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