Skip to main content

Module hal

Module hal 

Source
Expand description

Hardware abstraction traits shared by all platforms.

Re-exports§

pub use accelerator::AcceleratorCapabilities;
pub use accelerator::NeuralAccelerator;
pub use bluetooth::BluetoothProvider;
pub use bluetooth::ConnectionStatus;
pub use gpio::GpioProvider;
pub use logger::LogLevel;
pub use logger::Logger;
pub use serial::SerialIO;
pub use time::TimeProvider;
pub use usb_cdc::UsbCdcProvider;
pub use usb_cdc::UsbConnectionStatus;

Modules§

accelerator
Neural accelerator control traits.
bluetooth
Bluetooth Low Energy communication traits. Bluetooth Low Energy (BLE) Hardware Abstraction Layer
gpio
General-purpose I/O abstractions for pins.
logger
Logging interfaces for embedded targets.
serial
Serial input/output traits for UART-style communication.
time
Hardware Abstraction Layer (HAL) trait definitions for embedded platforms
usb_cdc
USB CDC Serial communication traits. USB CDC (Communications Device Class) Hardware Abstraction Layer

Traits§

Platform
Convenience trait combining common platform capabilities