Crate device_register_async
source ·Expand description
An async version of the trait from the crate device-register
Note that you will need to use nightly and
enable and type_alias_impl_trait
features.
Re-exports
pub use device_register;
Traits
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.