TC_QISR

TC QDEC Interrupt Status Register

  0xD4 32 Read-only 0x00000000  

TC QDEC Interrupt Status Register

Bit  31 30 29 28 27 26 25 24  
                   
Access                   
Reset                   
Bit  23 22 21 20 19 18 17 16  
                   
Access                   
Reset                   
Bit  15 14 13 12 11 10 9 8  
                DIR  
Access                R  
Reset                0  
Bit  7 6 5 4 3 2 1 0  
          MPE QERR DIRCHG IDX  
Access          R R R R  
Reset          0 0 0 0  

Bit 0 – IDX: Index

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.

Bit 1 – DIRCHG: Direction Change

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 2 – QERR: Quadrature Error

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 3 – MPE: Consecutive Missing Pulse Error

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 8 – DIR: Direction

Direction

Returns an image of the current rotation direction.