Trait drone_cortexm::reg::field::WRwRegFieldBitsAtomic[][src]

pub trait WRwRegFieldBitsAtomic<T: RegAtomic> where
    Self: WRwRegFieldAtomic<T> + RegFieldBits<T>,
    Self::Reg: RReg<T> + WReg<T>, 
{ fn write_bits(&self, bits: <<Self::Reg as Reg<T>>::Val as Bitfield>::Bits); }

Atomic operations for writable multiple-bit field of read-write register.

Required methods

fn write_bits(&self, bits: <<Self::Reg as Reg<T>>::Val as Bitfield>::Bits)[src]

Reads the value from the register memory, replaces the field bits by bits, writes the value back to the register memory, repeat if interrupted.

Loading content...

Implementors

impl<T, R> WRwRegFieldBitsAtomic<T> for R where
    T: RegAtomic,
    R: WRwRegFieldAtomic<T> + RegFieldBits<T>,
    R::Reg: RReg<T> + WReg<T>, 
[src]

Loading content...