16.1.4 QEIx Status Register
- This status bit is only applicable
to PIMOD[2:0] modes, ‘
011’ and ‘100’.
Legend: C = Clearable bit, HS = Hardware Settable bit
| Name: | QEIxSTAT |
| Offset: | 0x148, 0x17C, 0x548 |
| Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
| PCHEQIRQ | PCHEQIEN | PCLEQIRQ | PCLEQIEN | POSOVIRQ | POSOVIEN | ||||
| Access | R/C/HS | R/W | R/C/HS | R/W | R/C/HS | R/W | |||
| Reset | 0 | 0 | 0 | 0 | 0 | 0 |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| PCIIRQ | PCIIEN | VELOVIRQ | VELOVIEN | HOMIRQ | HOMIEN | IDXIRQ | IDXIEN | ||
| Access | R/C/HS | R/W | R/C/HS | R/W | R/C/HS | R/W | R/C/HS | R/W | |
| Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit 13 – PCHEQIRQ Position Counter Greater Than Compare Status bit
| Value | Description |
|---|---|
1 |
POSxCNT > QEIxGEC |
0 |
POSxCNT < QEIxGEC |
Bit 12 – PCHEQIEN Position Counter Greater Than Compare Interrupt Enable bit
| Value | Description |
|---|---|
1 |
Interrupt is enabled |
0 |
Interrupt is disabled |
Bit 11 – PCLEQIRQ Position Counter Less Than Compare Status bit
| Value | Description |
|---|---|
1 |
POSxCNT < QEIxLEC |
0 |
POSxCNT > QEIxLEC |
Bit 10 – PCLEQIEN Position Counter Less Than Compare Interrupt Enable bit
| Value | Description |
|---|---|
1 |
Interrupt is enabled |
0 |
Interrupt is disabled |
Bit 9 – POSOVIRQ Position Counter Overflow Status bit
| Value | Description |
|---|---|
1 |
Overflow has occurred |
0 |
No overflow has occurred |
Bit 8 – POSOVIEN Position Counter Overflow Interrupt Enable bit
| Value | Description |
|---|---|
1 |
Interrupt is enabled |
0 |
Interrupt is disabled |
Bit 7 – PCIIRQ Position Counter (Homing) Initialization Process Complete Status bit(1)
| Value | Description |
|---|---|
1 |
POSxCNT was reinitialized |
0 |
POSxCNT was not reinitialized |
Bit 6 – PCIIEN Position Counter (Homing) Initialization Process Complete Interrupt Enable bit
| Value | Description |
|---|---|
1 |
Interrupt is enabled |
0 |
Interrupt is disabled |
Bit 5 – VELOVIRQ Velocity Counter Overflow Status bit
| Value | Description |
|---|---|
1 |
Overflow has occurred |
0 |
No overflow has occurred |
Bit 4 – VELOVIEN Velocity Counter Overflow Interrupt Enable bit
| Value | Description |
|---|---|
1 |
Interrupt is enabled |
0 |
Interrupt is disabled |
Bit 3 – HOMIRQ Status Flag for Home Event Status bit
| Value | Description |
|---|---|
1 |
Home event has occurred |
0 |
No Home event has occurred |
Bit 2 – HOMIEN Home Input Event Interrupt Enable bit
| Value | Description |
|---|---|
1 |
Interrupt is enabled |
0 |
Interrupt is disabled |
Bit 1 – IDXIRQ Status Flag for Index Event Status bit
| Value | Description |
|---|---|
1 |
Index event has occurred |
0 |
No Index event has occurred |
Bit 0 – IDXIEN Index Input Event Interrupt Enable bit
| Value | Description |
|---|---|
1 |
Interrupt is enabled |
0 |
Interrupt is disabled |
