Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/Atmel/ATSAM3S1C/TC1/SMMR2#0x0
Stepper Motor Mode Register (channel = 2)
Gray Count Enable
DOWN Count
https://github.com/cmsis-svd/cmsis-svd-data