* @brief Returns true if the device is open and an IN endpoint is active. */
| 277 | * @brief Returns true if the device is open and an IN endpoint is active. |
| 278 | */ |
| 279 | bool 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. |