Expand description
Standard RISC-V peripherals for embedded systems written in Rust.
Re-exports§
pub use riscv;
Modules§
- aclint
- Devices for the Core Local Interruptor (CLINT) and Advanced CLINT (ACLINT) peripherals.
- common
- Common definitions for all the peripheral registers.
- hal
- trait implementations for embedded-hal
- macros
- Utility macros for generating standard peripherals-related code in RISC-V PACs.
- plic
- Platform-Level Interrupt Controller (PLIC) peripheral.
- result
Macros§
- clint_
codegen - Macro to create interfaces to CLINT peripherals in PACs. The resulting struct will provide safe access to the CLINT registers.
- plic_
codegen - Macro to create interfaces to PLIC peripherals in PACs.
The resulting struct will be named
PLIC
, and will provide safe access to the PLIC registers.