neorv32-pac 0.2.0

Peripheral Access Crate (PAC) for the open-source NEORV32 RISC-V microcontroller
Documentation

neorv32-pac

A peripheral access crate (PAC) for the open-source NEORV32 RISC-V microcontroller.

Overview

A PAC acts as a thin wrapper around raw peripheral register reads/writes allowing maximum flexibility for interacting with the hardware. However, it is the user's responsbility to ensure the hardware is used safely and correctly. For a higher-level, safer and more ergonomic approach to accessing hardware, consider using the NEORV32 Embassy HAL instead.

Generation

This PAC is automatically generated using svd2rust and svdtools. Additionally, form is used to properly format and structure the generated Rust code.

To re-generate this PAC, install the above tools and simply run ./genpac.sh from a terminal (though this is only necessary if you modify neorv32.svd and/or config.yml).

Version

This PAC has been generated for NEORV32 v1.12.8. There is no guarantee it will work for different versions.