Type Alias xmc4200::generic::FieldReader

source ·
pub type FieldReader<FI = u8> = FieldReader<FI>;
Expand description

Field reader.

Result of the read methods of fields.

Aliased Type§

struct FieldReader<FI = u8> { /* private fields */ }

Implementations§

source§

impl<FI: FieldSpec> FieldReader<FI>

source

pub const fn bits(&self) -> FI::Ux

Reads raw bits from field.

Trait Implementations§

source§

impl<FI> PartialEq<FI> for FieldReader<FI>
where FI: FieldSpec + 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.