Atmel ARM-Based Evaluation Kit for SAM4S16C, 32-Bit ARM® Cortex® Microcontroller ATSAM4S-WPIR-RD ATSAM4S-WPIR-RD Data Sheet

Product codes
ATSAM4S-WPIR-RD
Page of 1231
SAM4S Series [DATASHEET]
Atmel-11100G-ATARM-SAM4S-Datasheet_27-May-14
874
• QDEN: Quadrature Decoder ENabled
0: Disabled.
1: Enables the quadrature decoder logic (filter, edge detection and quadrature decoding).
Quadrature decoding (direction change) can be disabled using QDTRANS bit.
One of the POSEN or SPEEDEN bits must be also enabled.
• POSEN: POSition ENabled
0: Disable position.
1: Enables the position measure on channel 0 and 1.
• SPEEDEN: SPEED ENabled
0: Disabled.
1: Enables the speed measure on channel 0, the time base being provided by channel 2.
• QDTRANS: Quadrature Decoding TRANSparent
0: Full quadrature decoding logic is active (direction change detected).
1: Quadrature decoding logic is inactive (direction change inactive) but input filtering and edge detection are performed.
• EDGPHA: EDGe on PHA count mode
0: Edges are detected on PHA only.
1: Edges are detected on both PHA and PHB.
• INVA: INVerted phA
0: PHA (TIOA0) is directly driving quadrature decoder logic.
1: PHA is inverted before driving quadrature decoder logic.
• INVB: INVerted phB
0: PHB (TIOB0) is directly driving quadrature decoder logic.
1: PHB is inverted before driving quadrature decoder logic.
• SWAP: SWAP PHA and PHB
0: No swap between PHA and PHB.
1: Swap PHA and PHB internally, prior to driving quadrature decoder logic.
• INVIDX: INVerted InDeX
0: IDX (TIOA1) is directly driving quadrature logic.
1: IDX is inverted before driving quadrature logic.
• IDXPHB: InDeX pin is PHB pin
0: IDX pin of the rotary sensor must drive TIOA1.
1: IDX pin of the rotary sensor must drive TIOB0.
• FILTER: Glitch Filter
0: IDX,PHA, PHB input pins are not filtered.
1: IDX,PHA, PHB input pins are filtered using MAXFILT value.