Skip to main content

Ph1R

Type Alias Ph1R 

Source
pub type Ph1R = BitReader<Ph1>;
Expand description

Field PH1 reader - Enable Single Phase Mode

Aliased Type§

pub struct Ph1R { /* private fields */ }

Implementations§

Source§

impl Ph1R

Source

pub const fn variant(&self) -> Ph1

Get enumerated values variant

Source

pub fn is_ph10(&self) -> bool

Standard quadrature decoder, where PHASEA and PHASEB represent a two-phase quadrature signal.

Source

pub fn is_ph11(&self) -> bool

Single phase mode, bypass the quadrature decoder, refer to CTRL2[CMODE] description