Trait drone_cortexm::reg::field::WRwRegFieldBitAtomic [−][src]
Atomic operations for writable single-bit field of read-write register.
Required methods
fn set_bit(&self)
[src]
Reads the value from the register memory, sets the bit, writes the value back to the register memory, repeat if interrupted.
fn clear_bit(&self)
[src]
Reads the value from the register memory, clears the bit, writes the value back to the register memory, repeat if interrupted.
fn toggle_bit(&self)
[src]
Reads the value from the register memory, toggles the bit, writes the value back to the register memory, repeat if interrupted.
Implementors
impl<T, R> WRwRegFieldBitAtomic<T> for R where
T: RegAtomic,
R: WRwRegFieldAtomic<T> + RegFieldBit<T>,
R::Reg: RReg<T> + WReg<T>,
[src]
T: RegAtomic,
R: WRwRegFieldAtomic<T> + RegFieldBit<T>,
R::Reg: RReg<T> + WReg<T>,