Atmel ARM-Based Evaluation Kit for SAM4S16C, 32-Bit ARM® Cortex® Microcontroller ATSAM4S-WPIR-RD ATSAM4S-WPIR-RD Data Sheet

Product codes
ATSAM4S-WPIR-RD
Page of 1231
985
SAM4S Series [DATASHEET]
Atmel-11100G-ATARM-SAM4S-Datasheet_27-May-14
39.7.29 PWM Stepper Motor Mode Register
Name:
PWM_SMMR
Address:
0x400200B0
Access:
Read/Write
• GCENx: Gray Count ENable 
0: Disable gray count generation on PWML[2*x], PWMH[2*x], PWML[2*x +1], PWMH[2*x +1]
1: enable gray count generation on PWML[2*x], PWMH[2*x], PWML[2*x +1], PWMH[2*x +1.
• DOWNx: DOWN Count
0: Up counter.
1: Down counter. 
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
DOWN1
DOWN0
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
GCEN1
GCEN0