Atmel SAM4S-EK2 Atmel ATSAM4S-EK2 ATSAM4S-EK2 Data Sheet
Product codes
ATSAM4S-EK2
803
SAM4S [DATASHEET]
11100E–ATARM–24-Jul-13
36.7.15 TC QDEC Interrupt Enable Register
Name:
TC_QIER
Address:
0x400100C8 (0), 0x400140C8 (1)
Access:
Write-only
• IDX: InDeX
0 = No effect.
1 = Enables the interrupt when a rising edge occurs on IDX input.
• DIRCHG: DIRection CHanGe
0 = No effect.
1 = Enables the interrupt when a change on rotation direction is detected.
• QERR: Quadrature ERRor
0 = No effect.
1 = Enables the interrupt when a quadrature error occurs on PHA,PHB.
31
30
29
28
27
26
25
24
–
–
–
–
–
–
–
–
23
22
21
20
19
18
17
16
–
–
–
–
–
–
–
–
15
14
13
12
11
10
9
8
–
–
–
–
–
–
–
–
7
6
5
4
3
2
1
0
–
–
–
–
–
QERR
DIRCHG
IDX