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