20.3.3 QEI 1 Status Register

Note:
  1. This status bit is only applicable to PIMOD[2:0] modes, ‘011’ and ‘100’.
  2. Outside of Hall mode, this bit is always read '0'.
  3. This bit can be used in both Hall mode and Encoder mode.
  4. This bit operational only for Hall mode.

Legend: C = Clearable bit; HS = Hardware Settable bit

Name: QEI1STAT
Offset: 0x1A08

Bit 3130292827262524 
     ECAPIRQ ECAPIENHPLDYIRQHPLDYIEN 
Access R/W/HSR/W/HSR/W/HSR/W/HS 
Reset 0000 
Bit 2322212019181716 
 HSTAMIRQ HSTAMIENHSTACIRQHSTACIENHSERRIRQ HSERRIENTERRIRQTERRIEN  
Access R/W/HSR/W/HSR/W/HSR/W/HSR/W/HSR/W/HSR/W/HSR/W/HS 
Reset 00000000 
Bit 15141312111098 
 DIRIRQDIRIENPCHEQIRQPCHEQIENPCLEQIRQPCLEQIENPOSOVIRQPOSOVIEN 
Access R/W/HSR/W/HSR/W/HSR/WR/W/HSR/WR/W/HSR/W 
Reset 00000000 
Bit 76543210 
 PCIIRQPCIIENVELOVIRQVELOVIENHOMIRQHOMIENIDXIRQIDXIEN 
Access R/W/HSR/WR/W/HSR/WR/W/HSR/WR/W/HSR/W 
Reset 00000000 

Bit 27 – ECAPIRQ   External Capture Rise Interrupt Status bit(3)

ValueDescription
1 External Capture Rise Interrupt was generated.
0 No External Capture Rise Interrupt was generated.

Bit 26 – ECAPIEN  External Capture Rise Interrupt Enable bit(3)

ValueDescription
1 External Capture Rise interrupt is enabled.
0 External Capture Rise interrupt is disabled.

Bit 25 – HPLDYIRQ  Hall Programmable Delay Interrupt Status bit(2)

ValueDescription
1 Hall programmable delay interrupt was generated.
0 Hall programmable delay interrupt was not generated.

Bit 24 – HPLDYIEN  Hall Programmable Delay Interrupt Enable bit(2)

ValueDescription
1 Hall programmable delay interrupt is enabled.
0 Hall programmable delay interrupt is disabled.

Bit 23 – HSTAMIRQ   Hall state match interrupt Status bit(2)

ValueDescription
1 Hall state match interrupt was generated.
0 Hall state match interrupt was not generated.

Bit 22 – HSTAMIEN Hall State Match Interrupt Enable bit

ValueDescription
1 Hall state match interrupt is enabled.
0 Hall state match interrupt is disabled.

Bit 21 – HSTACIRQ  Hall State Change Interrupt Status bit(2)

ValueDescription
1 Hall state change interrupt was generated.
0 Hall state change interrupt was not generated.

Bit 20 – HSTACIEN  Hall State Change Interrupt Enable bit(4)

ValueDescription
1 Hall state change interrupt is enabled.
0 Hall state change interrupt is disabled.

Bit 19 – HSERRIRQ   Hall State Error interrupt Status bit(2)

ValueDescription
1 Hall State Error interrupt was generated.
0 Hall State Error interrupt was not generated.

Bit 18 – HSERRIEN  Hall State Error Interrupt Enable bit(4)

ValueDescription
1 Hall State Error Interrupt is enabled.
0 Hall State Error Interrupt is disabled.

Bit 17 – TERRIRQ  Quadrature/Hall Transition Error interrupt Status bit(4)

ValueDescription
1 Quadrature/Hall Transition Error interrupt was generated.
0 Quadrature/Hall Transition Error interrupt was not generated.

Bit 16 – TERRIEN   Quadrature/Hall Transition Error Interrupt Enable bit(4)

ValueDescription
1 Quadrature/Hall Transition Error interrupt is enabled.
0 Quadrature/Hall Transition Error interrupt is disabled.

Bit 15 – DIRIRQ Direction Change Interrupt Status bit

ValueDescription
1 Direction change interrupt was generated.
0 Direction change interrupt was not generated.

Bit 14 – DIRIEN Direction change Interrupt Enable bit

ValueDescription
1 Direction change Interrupt is enabled.
0 Direction change Interrupt is disabled.

Bit 13 – PCHEQIRQ Position Counter Greater Than Compare Status bit

ValueDescription
1

POSxCNT > QEIxGEC

0

POSxCNT < QEIxGEC

Bit 12 – PCHEQIEN Position Counter Greater Than Compare Interrupt Enable bit

ValueDescription
1 Position Counter Greater Than Compare Interrupt is enabled.
0 Position Counter Greater Than Compare Interrupt is disabled.

Bit 11 – PCLEQIRQ Position Counter Less Than Compare Status bit

ValueDescription
1

POSxCNT < QEIxLEC

0

POSxCNT > QEIxLEC

Bit 10 – PCLEQIEN Position Counter Less Than Compare Interrupt Enable bit

ValueDescription
1 Position Counter Less Than Compare Interrupt is enabled.
0 Position Counter Less Than Compare Interrupt is disabled.

Bit 9 – POSOVIRQ Position Counter Overflow Status bit

ValueDescription
1 Position Counter Overflow has occurred.
0 Position Counter Overflow has not occurred.

Bit 8 – POSOVIEN Position Counter Overflow Interrupt Enable bit

ValueDescription
1 Position Counter Overflow Interrupt is enabled.
0 Position Counter Overflow Interrupt is disabled.

Bit 7 – PCIIRQ  Position Counter (Homing) Initialization Process Complete Status bit(1)

ValueDescription
1 POSxCNT was reinitialized.
0 POSxCNT was not reinitialized.

Bit 6 – PCIIEN Position Counter (Homing) Initialization Process Complete Interrupt Enable bit

ValueDescription
1 Position Counter (Homing) Initialization Process Complete Interrupt is enabled.
0 Position Counter (Homing) Initialization Process Complete Interrupt is disabled.

Bit 5 – VELOVIRQ Velocity Counter Overflow Status bit

ValueDescription
1 Velocity Counter Overflow has occurred.
0 Velocity Counter Overflow has not occurred.

Bit 4 – VELOVIEN Velocity Counter Overflow Interrupt Enable bit

ValueDescription
1 Velocity Counter Overflow Interrupt is enabled.
0 Velocity Counter Overflow Interrupt is disabled.

Bit 3 – HOMIRQ Home Event Status bit

ValueDescription
1 Home event has occurred.
0 No home event has occurred.

Bit 2 – HOMIEN Home Input Event Interrupt Enable bit

ValueDescription
1 Home Input Event Interrupt is enabled.
0 Home Input Event Interrupt is disabled.

Bit 1 – IDXIRQ Index Event Status bit

ValueDescription
1 Index event has occurred.
0 No index event has occurred.

Bit 0 – IDXIEN Index Input Event Interrupt Enable bit

ValueDescription
1 Index Input Event Interrupt is enabled.
0 Index Input Event Interrupt is disabled.