#raspberry-pi #pac #bcm2711

no-std bcm2711-lpa

Peripheral access crate for BCM2711 found in the Raspberry Pi 4

7 releases (4 breaking)

new 0.5.0 Jan 21, 2025
0.4.0 Dec 31, 2023
0.3.0 Nov 24, 2023
0.2.2 Nov 20, 2023
0.1.0 Mar 18, 2023

#734 in Embedded development

Unlicense

4MB
113K SLoC

bcm2711-lpa

crates.io docs.rs

Peripheral access crate for BCM2711 found in the Raspberry Pi 4.

This PAC is generated by svd2rust from the SVD file in adafruit/broadcom-peripherals@d3a6b50. save that a patch is applied to add the missing tags required by svd2rust.

A Note on Virtual Memory

This PAC expects the memory-mapped registers of the peripherals to be present on their physical addresses; therefore, this PAC integrates poorly with virtual memory. If the register files are offset-mapped to a different base address, it is advised to generate the PAC by yourself from our patched SVD file and using the --base-address-shift option of svd2rust. See the repository-level README for more information on generating PACs.

Feature Flags

  • atomic: Extends the register API with operations to atomically set, clear, and toggle specific bits.
  • defmt: Include defmt::Format implementations.

Dependencies