atsamd51g::pdec::ctrlaType Alias R
Source pub type R = R<CtrlaSpec>;
Expand description
struct R { }
Bits 2:3 - Operation Mode
Bits 8:10 - PDEC Configuration
Bit 14 - PDEC Phase A and B Swap
Bit 16 - PDEC Input From Pin 0 Enable
Bit 17 - PDEC Input From Pin 1 Enable
Bit 18 - PDEC Input From Pin 2 Enable
Bit 20 - IO Pin 0 Invert Enable
Bit 21 - IO Pin 1 Invert Enable
Bit 22 - IO Pin 2 Invert Enable
Bits 24:26 - Angular Counter Length
Bits 28:31 - Maximum Consecutive Missing Pulses