4 releases

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

#425 in Embedded development

Download history 715/week @ 2023-12-14 119/week @ 2023-12-21 98/week @ 2023-12-28 401/week @ 2024-01-04 158/week @ 2024-01-11 597/week @ 2024-01-18 221/week @ 2024-01-25 201/week @ 2024-02-01 666/week @ 2024-02-08 487/week @ 2024-02-15 594/week @ 2024-02-22 364/week @ 2024-02-29 756/week @ 2024-03-07 371/week @ 2024-03-14 484/week @ 2024-03-21 560/week @ 2024-03-28

2,215 downloads per month
Used in 3 crates

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.0"

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

~170KB