67.7.4 TC Stepper Motor Mode Register

This register can only be written if the WPEN bit is cleared in the TC Write Protection Mode Register.

Name: TC_SMMRx
Offset: 0x08 + x*0x40 [x=0..2]
Reset: 0x00000000
Property: R/W

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
          
Access  
Reset  
Bit 15141312111098 
          
Access  
Reset  
Bit 76543210 
       DOWNGCEN 
Access R/WR/W 
Reset 00 

Bit 1 – DOWN Down Count

ValueDescription
0 Up counter.
1 Down counter.

Bit 0 – GCEN Gray Count Enable

ValueDescription
0 TIOAx [x=0..2] and TIOBx [x=0..2] are driven by internal counter of channel x.
1 TIOAx [x=0..2] and TIOBx [x=0..2] are driven by a 2-bit Gray counter.