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

#205 in Embedded development

Download history 1229/week @ 2024-08-16 854/week @ 2024-08-23 1115/week @ 2024-08-30 735/week @ 2024-09-06 954/week @ 2024-09-13 1170/week @ 2024-09-20 313/week @ 2024-09-27 518/week @ 2024-10-04 209/week @ 2024-10-11 403/week @ 2024-10-18 259/week @ 2024-10-25 804/week @ 2024-11-01 702/week @ 2024-11-08 613/week @ 2024-11-15 658/week @ 2024-11-22 1331/week @ 2024-11-29

3,594 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