RusPiRo MMIO Register
The crate provides macros to conviniently define memory mapped I/O (MMIO) registers.
Usage
To use this crate simply add the dependency to your Cargo.toml
file:
[]
= "0.1.4"
The definition of MMIO registers is straight forward using the provided define_mmio_register!
macro like so:
use *;
define_mmio_register!;
Once the register is defined it can be used to read data from or write data to, depending on its type (ReadOnly, WriteOnly, ReadWrite).
License
Licensed under Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0) or MIT (LICENSE-MIT or http://opensource.org/licenses/MIT)) at your choice.