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
- Download and install the PEAK PCAN-Basic package from PEAK-System Drivers.
- Ensure that
PCANBasic.dllis available in your system path.
Linux
- Install
libpcanbasic.sofrom PEAK-System's official drivers. - Verify that the shared library is accessible in your system.
Usage
Add peak-can-sys to your Cargo.toml:
[]
= "0.1"
Include it in your Rust code:
use *;
License & Legal Notice
This project is not affiliated with PEAK-System. The PCAN-Basic API is owned and maintained by PEAK-System.
- PEAK-System is the owner of the PCAN-Basic library.
- Users must download PCAN-Basic from the official PEAK-System website.
- By using this crate, you agree to PEAK-System's End User License Agreement (EULA).
For support related to this Rust binding, please contact the maintainer of this repository, not PEAK-System.