Atmel ARM-Based Evaluation Kit for SAM4S16C, 32-Bit ARM® Cortex® Microcontroller ATSAM4S-WPIR-RD ATSAM4S-WPIR-RD Hoja De Datos
Los códigos de productos
ATSAM4S-WPIR-RD
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