pub enum Ph1 {
Ph10 = 0,
Ph11 = 1,
}Expand description
Enable Single Phase Mode
Value on reset: 0
Variants§
Ph10 = 0
0: Standard quadrature decoder, where PHASEA and PHASEB represent a two-phase quadrature signal.
Ph11 = 1
1: Single phase mode, bypass the quadrature decoder, refer to CTRL2[CMODE] description
Trait Implementations§
impl Copy for Ph1
impl Eq for Ph1
impl StructuralPartialEq for Ph1
Auto Trait Implementations§
impl Freeze for Ph1
impl RefUnwindSafe for Ph1
impl Send for Ph1
impl Sync for Ph1
impl Unpin for Ph1
impl UnsafeUnpin for Ph1
impl UnwindSafe for Ph1
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more