docs.rs failed to build rumio-0.2.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
rumio-0.1.4
rumio
Control your MMIO and CPU registers without pain.
Documentation | Crate | Examples
This crate provides various macros to generate a nice API for MMIO blocks
and CPU registers. It's mainly meant as a replacement for the register
crate
to provide a better API and make the work easier.
Usage
For more updated and larger examples take a look at the tests.
Defining CPU registers
The CPU registers are only useful for control registers which store their data using bitfields. For example the Control-Status-Register of the RISC-V architecture.
Defining MMIO registers
// define one MMIO register whose base type is `u16` and name is `Reg`.
define_mmio_register!
License
Licensed under either Apache License or the MIT license.