[][src]Trait drone_cortex_m::reg::field::RRRegFieldBit

pub trait RRRegFieldBit<T>: RegFieldBit<T> + RRRegField<T> where
    T: RegTag,
    Self::Reg: RReg<T>, 
{ fn read(&self, val: &<Self::Reg as Reg<T>>::Val) -> bool;
fn read_bit(&self) -> bool; }

Readable single-bit field of readable register.

Required methods

fn read(&self, val: &<Self::Reg as Reg<T>>::Val) -> bool

Returns true if the bit is set in val.

fn read_bit(&self) -> bool

Reads the value from the register memory and returns true if the bit is set.

Loading content...

Implementors

impl<T, R> RRRegFieldBit<T> for R where
    R: RegFieldBit<T> + RRRegField<T>,
    T: RegTag,
    <R as RegField<T>>::Reg: RReg<T>, 
[src]

Loading content...