cotton_usb_host/
lib.rs

1#![doc = include_str!("../README.md")]
2#![warn(missing_docs)]
3#![warn(rustdoc::missing_crate_level_docs)]
4#![allow(clippy::uninlined_format_args)]
5#![cfg_attr(not(feature = "std"), no_std)]
6#![cfg_attr(docsrs, feature(doc_cfg))]
7
8/// Encapsulates waiting for any one of N resources to become available
9pub mod async_pool;
10
11/// A compact representation of a set of 32 booleans
12pub mod bitset;
13mod debug;
14
15/// Example device-drivers for USB devices
16pub mod device;
17
18/// Example host-controller drivers
19pub mod host;
20
21/// Abstraction over host-controller drivers
22pub mod host_controller;
23
24/// Encapsulating the layout of a USB bus
25pub mod topology;
26
27/// Main encapsulation of a USB bus and all its devices
28pub mod usb_bus;
29
30/// Data representations straight from the USB standards
31pub mod wire;
32
33/// A mock host-controller driver, for writing unit tests
34#[cfg(feature = "std")]
35pub mod mocks;