Trait drone_core::reg::prelude::WRegUnique [] [src]

pub trait WRegUnique<'a>: WReg<Utt> + RegRef<'a, Utt> {
    fn reset<F>(&'a mut self, f: F)
    where
        F: for<'b> FnOnce(&'b mut Self::Hold) -> &'b mut Self::Hold
;
fn store_val(&mut self, val: Self::Val);
fn store_default(&'a mut self); }

Register that can write its value in a single-threaded context.

Required Methods

Updates a new reset value with f and writes the result to the register's memory address.

Writes val into the register.

Writes the reset value to the register.

Implementors