20.3.3 QEI Status Register

Note:
  1. This status bit is only applicable to PIMOD[2:0] modes, ‘011’ and ‘100’.
Table 20-5. Register Bit Attribute Legend
SymbolDescriptionSymbolDescriptionSymbolDescription
RReadable bitHCCleared by Hardware(Gray cell)Unimplemented
WWritable bitHSSet by HardwareXBit is unknown at Reset
CWrite to clearSSoftware settable bitxChannel number
Name: QEI1STAT
Offset: 0x1A08

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
          
Access  
Reset  
Bit 15141312111098 
   PCHEQIRQPCHEQIENPCLEQIRQPCLEQIENPOSOVIRQPOSOVIEN 
Access R/W/HSR/WR/W/HSR/WR/W/HSR/W 
Reset 000000 
Bit 76543210 
 PCIIRQPCIIENVELOVIRQVELOVIENHOMIRQHOMIENIDXIRQIDXIEN 
Access R/W/HSR/WR/W/HSR/WR/W/HSR/WR/W/HSR/W 
Reset 00000000 

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
1Position Counter Greater Than Compare interrupt is enabled
0Interrupt 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

Interrupt is disabled

Bit 9 – POSOVIRQ Position Counter Overflow Status bit

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

Bit 8 – POSOVIEN Position Counter Overflow Interrupt Enable bit

ValueDescription
1Position Counter Overflow interrupt is enabled
0Position Counter Overflow interrupt is disabled

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

ValueDescription
1POSxCNT was reinitialized
0POSxCNT was not reinitialized

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

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

Bit 5 – VELOVIRQ Velocity Counter Overflow Status bit

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

Bit 4 – VELOVIEN Velocity Counter Overflow Interrupt Enable bit

ValueDescription
1Velocity Counter Overflow interrupt is enabled
0Velocity Counter Overflow interrupt is disabled

Bit 3 – HOMIRQ Home Event Status bit

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

Bit 2 – HOMIEN Home Input Event Interrupt Enable bit

ValueDescription
1Home input event interrupt is enabled
0Home input event interrupt is disabled

Bit 1 – IDXIRQ Index Event Status bit

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

Bit 0 – IDXIEN Index Input Event Interrupt Enable bit

ValueDescription
1Index input event interrupt is enabled
0Index input event interrupt is disabled