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

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

Writable single-bit field of writable register.

Required methods

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

Sets the bit in val.

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

Clears the bit in val.

pub 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 as RegField<T>>::Reg: WReg<T>, 
[src]

Loading content...