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

#202 in Embedded development

Download history 1110/week @ 2024-07-31 604/week @ 2024-08-07 1276/week @ 2024-08-14 801/week @ 2024-08-21 824/week @ 2024-08-28 1018/week @ 2024-09-04 733/week @ 2024-09-11 1335/week @ 2024-09-18 436/week @ 2024-09-25 526/week @ 2024-10-02 146/week @ 2024-10-09 447/week @ 2024-10-16 324/week @ 2024-10-23 421/week @ 2024-10-30 1006/week @ 2024-11-06 559/week @ 2024-11-13

2,334 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