Trait drone_cortexm::reg::prelude::_[][src]

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

Readable single-bit field of readable register.

Required methods

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

Returns true if the bit is set in val.

pub fn read_bit(&self) -> bool[src]

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
    T: RegTag,
    R: RegFieldBit<T> + RRRegField<T>,
    <R as RegField<T>>::Reg: RReg<T>, 
[src]

Loading content...