Atmel SAM4S Xplained Pro Starter and Evaluation Kit ATSAM4S-XPRO ATSAM4S-XPRO Data Sheet
![Atmel](https://files.manualsbrain.com/attachments/0369829915bda09f9c2e00fb805a7753579683b5/common/fit/150/50/8d2bf08978ec3e5bc63f4343ac5e91ce8d0e40045619fa520d910d64af8f/brand_logo.png)
Product codes
ATSAM4S-XPRO
879
SAM4S Series [DATASHEET]
Atmel-11100G-ATARM-SAM4S-Datasheet_27-May-14
37.7.18 TC QDEC Interrupt Status Register
Name:
TC_QISR
Address:
0x400100D4 (0), 0x400140D4 (1)
Access:
Read-only
• IDX: InDeX
0: No Index input change since the last read of TC_QISR.
1: The IDX input has changed since the last read of TC_QISR.
1: The IDX input has changed since the last read of TC_QISR.
• DIRCHG: DIRection CHanGe
0: No change on rotation direction since the last read of TC_QISR.
1: The rotation direction changed since the last read of TC_QISR.
1: The rotation direction changed since the last read of TC_QISR.
• QERR: Quadrature ERRor
0: No quadrature error since the last read of TC_QISR.
1: A quadrature error occurred since the last read of TC_QISR.
1: A quadrature error occurred since the last read of TC_QISR.
• DIR: DIRection
Returns an image of the actual rotation direction.
31
30
29
28
27
26
25
24
–
–
–
–
–
–
–
–
23
22
21
20
19
18
17
16
–
–
–
–
–
–
–
–
15
14
13
12
11
10
9
8
–
–
–
–
–
–
–
DIR
7
6
5
4
3
2
1
0
–
–
–
–
–
QERR
DIRCHG
IDX