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

pub trait RRRegFieldBits<T>: RegFieldBits<T> + RRRegField<T> where
    T: RegTag,
    Self::Reg: RReg<T>, 
{ fn read(
        &self,
        val: &<Self::Reg as Reg<T>>::Val
    ) -> <<Self::Reg as Reg<T>>::Val as Bitfield>::Bits;
fn read_bits(&self) -> <<Self::Reg as Reg<T>>::Val as Bitfield>::Bits; }

Readable multiple-bit field of readable register.

Required methods

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

Extracts the field bits from val.

fn read_bits(&self) -> <<Self::Reg as Reg<T>>::Val as Bitfield>::Bits

Reads the value from the register memory and extracts the field bits.

Loading content...

Implementors

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

Loading content...