cr1140-hal 0.1.0

Hardware abstraction layer for the ifm CR1140/CR1141 (aarch64, Yocto Linux)
Documentation
1
2
3
4
5
6
7
8
9
10
11
// SPDX-License-Identifier: GPL-3.0-only
//! Convenience re-exports. `use cr1140_hal::prelude::*;` pulls in the common
//! types so apps don't need a long list of module-qualified `use` statements.

pub use crate::display::{FbDisplay, Surface};
pub use crate::error::{HalError, HalResult};
pub use crate::input::{Button, ButtonEvent, ButtonReader, KEYPAD_NAME};
pub use crate::sys::{Led, BACKLIGHT, SOC_THERMAL_ZONE};

#[cfg(target_os = "linux")]
pub use crate::can::CanBus;