TofdirR

Type Alias TofdirR 

pub type TofdirR = BitReader<Tofdir>;
Expand description

Field TOFDIR reader - Timer Overflow Direction In Quadrature Decoder Mode

Aliased Type§

pub struct TofdirR { /* private fields */ }

Implementations§

§

impl TofdirR

pub const fn variant(&self) -> Tofdir

Get enumerated values variant

pub fn is_0(&self) -> bool

TOF bit was set on the bottom of counting. There was an FTM counter decrement and FTM counter changes from its minimum value (CNTIN register) to its maximum value (MOD register).

pub fn is_1(&self) -> bool

TOF bit was set on the top of counting. There was an FTM counter increment and FTM counter changes from its maximum value (MOD register) to its minimum value (CNTIN register).