pub trait HramAtomicAccess: HramAccess {
// Required methods
fn get(&self) -> Self::Value;
fn set(&self, value: Self::Value);
}Expand description
Read and write a one-byte HRAM cell without a CriticalSection.
Implemented by the handles for HramAtomicCell declarations. A one-byte
ldh is a single instruction, so no token is needed to make it indivisible.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".