49.7.20 TC QDEC Interrupt Status Register

Name: TC_QISR
Offset: 0xD4
Reset: 0x00000000
Property: Read-only

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
          
Access  
Reset  
Bit 15141312111098 
        DIR 
Access R 
Reset 0 
Bit 76543210 
     MPEQERRDIRCHGIDX 
Access RRRR 
Reset 0000 

Bit 8 – DIR Direction

Returns an image of the current rotation direction.

Bit 3 – MPE Consecutive Missing Pulse Error

ValueDescription
0 The number of consecutive missing pulses has not reached the maximum value specified in MAXCMP since the last read of TC_QISR.
1 An occurrence of MAXCMP consecutive missing pulses has been detected since the last read of TC_QISR.

Bit 2 – QERR Quadrature Error

ValueDescription
0 No quadrature error since the last read of TC_QISR.
1 A quadrature error occurred since the last read of TC_QISR.

Bit 1 – DIRCHG Direction Change

ValueDescription
0 No change on rotation direction since the last read of TC_QISR.
1 The rotation direction changed since the last read of TC_QISR.

Bit 0 – IDX Index

ValueDescription
0 No Index input change since the last read of TC_QISR.
1 The IDX input has changed since the last read of TC_QISR.