Crate ral_registers

Source
Expand description

This crate contains an MMIO abstraction that uses macros to read, modify, and write fields in registers.

See the README for further details.

Macros§

modify_reg
Modify a RWRegister or UnsafeRWRegister.
read_reg
Read the value from a RORegister, RWRegister, UnsafeRORegister, or UnsafeRWRegister.
reset_reg
Reset a RWRegister, UnsafeRWRegister, WORegister, or UnsafeWORegister to its reset value.
write_reg
Write to a RWRegister or UnsafeRWRegister.

Structs§

RORegister
A read-only register of type T.
RWRegister
A read-write register of type T.
UnsafeRORegister
A read-only register of type T, where read access is unsafe.
UnsafeRWRegister
A read-write register of type T, where read/write access is unsafe.
UnsafeWORegister
A write-only register of type T, where write access is unsafe.
WORegister
A write-only register of type T.