ddevmem
Rust library for accessing the physical address space using /dev/mem similar to busybox devmem
Installation
Add ddevmem to your Cargo.toml:
[]
= "0.2.2"
Example
use ;
register_map!
let devmem = unsafe ;
let mut reg_map = unsafe ;
let = ;
let reg1_value = *reg_map.reg1;
*reg_map.mut_reg2 = reg1_value;
License
Ddevmem is distributed under the terms of the MIT license. See terms and conditions here.