pub const PH1_0: u16 = 0;
Use standard quadrature decoder where PHASEA and PHASEB represent a two phase quadrature signal.