Type Definition atsam4s2a_pac::generic::FieldReader

source ·
pub type FieldReader<U, FI> = FieldReaderRaw<U, FI>;
Expand description

Field reader.

Result of the read methods of fields.

Implementations§

source§

impl<U, FI> FieldReader<U, FI>where U: Copy,

source

pub fn bits(&self) -> U

Reads raw bits from field.

Trait Implementations§

source§

impl<U, FI> PartialEq<FI> for FieldReader<U, FI>where U: PartialEq + From<FI>, FI: Copy,

source§

fn eq(&self, other: &FI) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.