Trait kernel::reg::RegisterInitial
source · pub trait RegisterInitial: RegisterWritable {
const INITIAL_VALUE: Self::Bits;
}Expand description
Marker for writable register specs (i.e. types implementing RegisterSpec and
RegisterWritable) which provides a safe, potentially non-zero initial value for the register
during write operations.
Writing the initial value to the register must not result in any undefined behaviour.
Required Associated Constants§
sourceconst INITIAL_VALUE: Self::Bits
const INITIAL_VALUE: Self::Bits
The initial value.