matrix_rhal/
lib.rs

1mod bus;
2mod error;
3mod everloop;
4pub mod gpio;
5mod sensors;
6
7pub use bus::Bus;
8pub use error::Error;
9pub use everloop::Everloop;
10pub use everloop::Rgbw;
11pub use gpio::Gpio;
12pub use sensors::Sensors;
13
14/// The Different types of MATRIX Devices
15#[derive(Debug, PartialEq)]
16#[non_exhaustive]
17pub enum Device {
18    /// MATRIX Creator.
19    Creator,
20    /// MATRIX Voice.
21    Voice,
22    /// Placeholder until the device is known.
23    Unknown,
24}