peak-can-sys 0.1.1

FFI bindings for the API by PEAK-System Technik GmbH
Documentation
  • Coverage
  • 6.07%
    15 out of 247 items documented0 out of 0 items with examples
  • Size
  • Source code size: 66.09 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 5.53 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 7s Average build duration of successful builds.
  • all releases: 12s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • TuEmb/peak-can-sys
    2 1 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • TuEmb

Peak CAN Sys

peak-can-sys provides Rust FFI bindings to the PEAK-System PCAN-Basic API, enabling interaction with PEAK CAN interfaces in Rust applications.

Features

  • Low-level FFI bindings to the PCAN-Basic API
  • Compatible with Windows and Linux systems
  • Supports various PEAK CAN hardware

Installation

To use peak-can-sys, ensure that you have the PCAN-Basic library installed on your system.

Windows

  1. Download and install the PEAK PCAN-Basic package from PEAK-System Drivers.
  2. Ensure that PCANBasic.dll is available in your system path.

Linux

  1. Install libpcanbasic.so from PEAK-System's official drivers.
  2. Verify that the shared library is accessible in your system.

Usage

Add peak-can-sys to your Cargo.toml:

[dependencies]

peak-can-sys = "0.1"

Include it in your Rust code:

use peak_can_sys::*;

License & Legal Notice

This project is not affiliated with PEAK-System. The PCAN-Basic API is owned and maintained by PEAK-System.

For support related to this Rust binding, please contact the maintainer of this repository, not PEAK-System.