liftof_rb::memory

Function read_control_reg

Source
pub fn read_control_reg(addr: u32) -> Result<u32, RegisterError>
where u32: LowerHex,
Expand description

! Get a single value from a 32bit (1 word) register This reads ONLY control registers (in /dev/uio0)

ยงArguments:

  • addr : The addr8 of the register in /dev/uio0