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 a RWRegister or UnsafeRWRegister.
Read the value from a RORegister, RWRegister, UnsafeRORegister, or UnsafeRWRegister.
Reset a RWRegister, UnsafeRWRegister, WORegister, or UnsafeWORegister to its reset value.
Write to a RWRegister or UnsafeRWRegister.

Structs

A read-only register of type T.
A read-write register of type T.
A read-only register of type T, where read access is unsafe.
A read-write register of type T, where read/write access is unsafe.
A write-only register of type T, where write access is unsafe.
A write-only register of type T.