Registry / other / ruspiro-mmio-register

ruspiro-mmio-register

JSON →
library0.1.4rscratesunverified

Provides macros to conveniently define memory mapped I/O (MMIO) registers.

# Cargo.toml [dependencies] ruspiro-mmio-register = "0.1.4"
INSTALL
IMPORT
SIG · RUSPIRO-MMIO-REGIS
R
ruspiro-mmio-register
otherrustv0.1.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

mmio_register
use ruspiro_mmio_register::mmio_register;

Define an MMIO register address using the macro.

use ruspiro_mmio_register::mmio_register; mmio_register! { GPIO_BASE: u32 = 0x3F200000; } fn main() { // Use the defined register address. println!("GPIO base: {:#x}", GPIO_BASE); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
ruspiro-mmio-register — cargo add ruspiro-mmio-register · libregistry