MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / isOpen

Method isOpen

app/src/IO/Drivers/UART.cpp:143–149  ·  view source on GitHub ↗

* @brief Returns true when the serial port is open. */

Source from the content-addressed store, hash-verified

141 * @brief Returns true when the serial port is open.
142 */
143bool IO::Drivers::UART::isOpen() const noexcept
144{
145 if (port())
146 return port()->isOpen();
147
148 return false;
149}
150
151/**
152 * @brief Returns true when the serial port can be read.

Callers 3

~UARTMethod · 0.45
setDtrEnabledMethod · 0.45
handleErrorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected