Trait drone_cortexm::reg::field::WoWoRegField [−][src]
Write-only field of write-only register.
Required methods
pub fn default_val(&self) -> <Self::Reg as Reg<T>>::Val
[src]
Creates a new opaque register value, and initializes it with the reset value.
pub fn store_val(&self, val: <Self::Reg as Reg<T>>::Val)
[src]
Writes an opaque value val
into the register memory.
See also store
.
pub fn store<F>(&self, f: F) where
F: Fn(&mut <Self::Reg as Reg<T>>::Val),
[src]
F: Fn(&mut <Self::Reg as Reg<T>>::Val),
Passes the opaque reset value to the closure f
, then writes the result
of the closure into the register memory.
See also store_val
.
Implementors
impl<T, R> WoWoRegField<T> for R where
T: RegTag,
R: WoWRegField<T>,
<R as RegField<T>>::Reg: WoReg<T>,
[src]
T: RegTag,
R: WoWRegField<T>,
<R as RegField<T>>::Reg: WoReg<T>,