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

Method isReadable

app/src/IO/Drivers/USB.cpp:279–282  ·  view source on GitHub ↗

* @brief Returns true if the device is open and an IN endpoint is active. */

Source from the content-addressed store, hash-verified

277 * @brief Returns true if the device is open and an IN endpoint is active.
278 */
279bool IO::Drivers::USB::isReadable() const noexcept
280{
281 return m_handle != nullptr && m_activeInEp != 0;
282}
283
284/**
285 * @brief Returns true if the device is open and an OUT endpoint is active.

Callers 1

Concepts.hFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected