Registry / other / bxcan
library0.8.0rscratesunverified

STM32 bxCAN peripheral driver for Controller Area Network (CAN) communication.

# Cargo.toml [dependencies] bxcan = "0.8.0"
INSTALL
IMPORT
SIG · BXCAN
B
bxcan
otherrustv0.8.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Can
use bxcan::Can;

Initialize and configure the bxCAN peripheral (requires actual hardware).

use bxcan::Can; use bxcan::filter::Mask32; fn main() { // Example assumes a CAN peripheral instance (e.g., CAN1) // let can = Can::new(peripheral); // can.enable_interrupts(); println!("bxCAN driver initialized"); }
Debug
Known issues
breakingThis crate is specific to STM32 microcontrollers with bxCAN peripheral; it will not work on other platforms.
fix
Ensure your target is an STM32 device with CAN support.
affects: *
Upgrade
Version history
0.8.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
Meta
1
OpenAI (training)
1
Resources
bxcan — cargo add bxcan · libregistry