pub trait ReadWrite<T: UIntLike>: Read<T> + Write<T> {
const REG_WIDTH: usize;
// Required methods
fn modify(&self, field: FieldValue<T, <Self as Read<T>>::Reg>);
fn modify_no_read(
&self,
original: LocalRegisterCopy<T, <Self as Read<T>>::Reg>,
field: FieldValue<T, <Self as Read<T>>::Reg>,
);
}Expand description
Readable and writable register
This interface is analogous to the methods supported on
tock_registers::registers::ReadWrite types
It is automatically implemented for all types that are both
BaseReadableRegister and BaseWriteableRegisters
Required Associated Constants§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".