Trait drone_cortexm::reg::field::RRRegFieldBits [−][src]
Readable multiple-bit field of readable register.
Required methods
pub fn read(
&self,
val: &<Self::Reg as Reg<T>>::Val
) -> <<Self::Reg as Reg<T>>::Val as Bitfield>::Bits
[src]
&self,
val: &<Self::Reg as Reg<T>>::Val
) -> <<Self::Reg as Reg<T>>::Val as Bitfield>::Bits
Extracts the field bits from val
.
pub fn read_bits(&self) -> <<Self::Reg as Reg<T>>::Val as Bitfield>::Bits
[src]
Reads the value from the register memory and extracts the field bits.
Implementors
impl<T, R> RRRegFieldBits<T> for R where
T: RegTag,
R: RegFieldBits<T> + RRRegField<T>,
<R as RegField<T>>::Reg: RReg<T>,
[src]
T: RegTag,
R: RegFieldBits<T> + RRRegField<T>,
<R as RegField<T>>::Reg: RReg<T>,