67.7.22 TC QDEC Interrupt Status Register
Name: | TC_QISR |
Offset: | 0xD4 |
Reset: | 0x00000000 |
Property: | Read-only |
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 | |
FMP | FIDX | FPHB | FPHA | MPE | QERR | DIRCHG | IDX | ||
Access | R | R | R | R | R | R | R | R | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit 8 – DIR Direction
Returns an image of the current rotation direction.
Bit 7 – FMP Filtered Missing Pulse
Value | Description |
---|---|
0 | No correction of missing pulse on phase A or B lines occurred since the last read of TC_QISR. |
1 | A correction of missing pulse on phase A or B lines occurred since the last read of TC_QISR. |
Bit 6 – FIDX Filtered Index Line
Value | Description |
---|---|
0 | No filtered contamination on index line since the last read of TC_QISR. |
1 | A contamination has been successfully on index line since the last read of TC_QISR. |
Bit 5 – FPHB Filtered Phase B Line
Value | Description |
---|---|
0 | No filtered contamination on phase B line since the last read of TC_QISR. |
1 | A contamination has been successfully on phase B line since the last read of TC_QISR. |
Bit 4 – FPHA Filtered Phase A Line
Value | Description |
---|---|
0 | No filtered contamination on phase A line since the last read of TC_QISR. |
1 | A contamination has been successfully on phase A line since the last read of TC_QISR. |
Bit 3 – MPE Consecutive Missing Pulse Error
Value | Description |
---|---|
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
Value | Description |
---|---|
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
Value | Description |
---|---|
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
Value | Description |
---|---|
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. |