English
Language : 

SAM4L Datasheet, PDF (822/1185 Pages) ATMEL Corporation – ATSAM ARM-based Flash MCU
30.9.4 Stepper Motor Mode Register
Name:
SMCR
Access Type:
Read/Write
Offset:
0x08 + n * 0x40
Reset Value:
0x00000000
31
30
29
28
27
26
-
-
-
-
-
-
23
22
21
20
19
18
-
-
-
-
-
-
15
14
13
12
11
10
-
-
-
-
-
-
7
6
5
4
3
2
-
-
-
-
-
-
This register can only be written if write protect is disabled (WPMR.WPEN is zero).
• DOWN: Down Count
0: Up counter.
1: Down counter.
• GCEN: Gray Count Enable
0: TIOAx and TIOBx are driven by internal counter of channel x.
1: TIOAx and TIOBx are driven by a 2-bit gray counter.
ATSAM4L4/L2
25
-
17
-
9
-
1
DOWN
24
-
16
-
8
-
0
GCEN
42023C–SAM–02/2013
822