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