5 releases

0.2.1 Sep 4, 2024
0.2.0 Jul 9, 2023
0.1.2 Sep 13, 2022
0.1.1 Jul 27, 2022
0.1.0 Mar 18, 2022

#198 in Embedded development

Download history 1264/week @ 2024-07-15 799/week @ 2024-07-22 1106/week @ 2024-07-29 971/week @ 2024-08-05 1126/week @ 2024-08-12 884/week @ 2024-08-19 713/week @ 2024-08-26 1163/week @ 2024-09-02 588/week @ 2024-09-09 1365/week @ 2024-09-16 750/week @ 2024-09-23 352/week @ 2024-09-30 330/week @ 2024-10-07 435/week @ 2024-10-14 296/week @ 2024-10-21 176/week @ 2024-10-28

1,366 downloads per month
Used in 7 crates (5 directly)

MIT/Apache

1MB
25K SLoC

FDCAN peripheral driver

crates.io docs.rs CI

This crate implements a driver for the FDCAN peripheral found in high-end STM32 microcontrollers (G0, G4, H7, L5 series). The other CAN peripheral found on STM32 microcontrollers is bxCAN.

Usage

Add an entry to your Cargo.toml:

[dependencies]
fdcan = "0.2.1"

Minimum supported Rust version

The Minimum Supported Rust Version (MSRV) at the moment is 1.52.0. Older versions may compile, especially when some features are not used in your application.

Changelog

See CHANGELOG.md.


lib.rs:

Driver for the STM32 FDCAN peripheral.

This crate provides a reusable driver for the FDCAN peripheral found in STM32 microcontrollers. HALs can re-export this crate and implement its traits to easily expose a CAN driver.

Features

Limitations

Cargo Features

Feature Description
embedded-can-03 Implements the embedded-can 0.3 traits.

Dependencies

~185KB