Trait drone_core::reg::field::WWRegFieldBit[][src]

pub trait WWRegFieldBit<T: RegTag> where
    Self: RegFieldBit<T> + WWRegField<T>,
    Self::Reg: WReg<T>, 
{ fn set(&self, val: &mut <Self::Reg as Reg<T>>::Val);
fn clear(&self, val: &mut <Self::Reg as Reg<T>>::Val);
fn toggle(&self, val: &mut <Self::Reg as Reg<T>>::Val); }

Writable single-bit field of writable register.

Required methods

fn set(&self, val: &mut <Self::Reg as Reg<T>>::Val)[src]

Sets the bit in val.

fn clear(&self, val: &mut <Self::Reg as Reg<T>>::Val)[src]

Clears the bit in val.

fn toggle(&self, val: &mut <Self::Reg as Reg<T>>::Val)[src]

Toggles the bit in val.

Loading content...

Implementors

impl<T, R> WWRegFieldBit<T> for R where
    T: RegTag,
    R: RegFieldBit<T> + WWRegField<T>,
    R::Reg: WReg<T>, 
[src]

Loading content...