Skip to main content

Crate fmi_ls_bus

Crate fmi_ls_bus 

Source
Expand description

§fmi-ls-bus

crates.io docs.rs

Rust bindings for the FMI-LS-BUS interface, with a safe, ergonomic wrapper around buffer operations that is binary compatible with the C implementation.

This crate is part of rust-fmi.

§Features

  • can: Enable CAN-related LS-BUS operations.
  • fmi-export: Enable integrations used by fmi-export.

§Usage

use fmi_ls_bus::FmiLsBus;

let mut bus = FmiLsBus::new();
let mut buffer = [0u8; 256];

bus.reset();
let _start = FmiLsBus::start(&buffer);

§Minimum supported Rust version

This crate follows the workspace MSRV policy.

§License

Licensed under either of the following, at your option:

  • Apache License, Version 2.0
  • MIT license

§License

Licensed under either of

§Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Modules§

cancan

Structs§

FmiLsBus
A Rust wrapper around FMI-LS-BUS buffer operations.

Enums§

FmiLsBusError

Traits§

LsBusOperation