Crate device_register_async

Source
Expand description

§device-register-async

crates.io documentation

An async version of the trait from the crate device-register

§MSRV

The minimum supported rust version is 1.75.0, but previous nightly versions might work with the library

License: MIT OR Apache-2.0

Re-exports§

pub use device_register;

Traits§

EditRegister
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.
ReadRegister
Trait to safely read a register. Only a readable register can be read.
RegisterInterface
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.
WriteRegister
Trait to safely write a register. Only a writable register can be written to.