Trait drone_core::reg::WRegShared [] [src]

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

Register that can write its value in a multi-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