rust-embedded / riscv

Low level access to RISC-V processors
818 stars 160 forks source link

`riscv`: register: exports macros for custom CSRs #203

Closed rmsyn closed 3 months ago

rmsyn commented 3 months ago

Exports macros from the riscv::register::macros module for external users.

This allows external users to define custom CSR accessor functions.

This is useful for platforms and SoCs with custom CSR registers not defined in the riscv crate.

Resolves: #187