An async version of the trait from the crate device-register
Note that you will need to use nightly and
Trait to safely read-edit-write a register. Usefull when a register has reserved values for internal uses. Avoids writing garbage to the reserved bits.
Trait to safely read a register. Only a readable register can be read.
Traits that define how to read and write the registers. Note that those functions should mostly just be implemented and not used since they are not bound by Read/Write/Edit permission.
Trait to safely write a register. Only a writable register can be written to.