Техническая Спецификация для Atmel SAM4S-XPLD Atmel ATSAM4S-XPLD ATSAM4S-XPLD
Модели
ATSAM4S-XPLD
806
SAM4S [DATASHEET]
11100E–ATARM–24-Jul-13
36.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.
• 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.
• 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.
• 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