19.4.9 Initialization/Capture Register
The 32-bit QEIx Initialization/Capture register (QEIxIC) is a general purpose register that can be used to perform the following functions:
- Initialize the position counter.
- Capture the contents of the position counter.
The QEIxIC register can perform only one of these tasks at a time, but the mode of operation can be changed during the operation. The selection is done by the PIMOD[2:0] bits of the QEIx Control register (QEIxCON[12:10]). To initialize the Position Counter mode, the contents of the QEIxIC register are loaded into the POSxCNT register based on the condition set by the PIMOD[2:0] bits.
In Capture mode, the input signal is used to capture the contents of the
position register into the QEIxIC register. When used for position capture, an index match
event (QCAPEN = 1) or a home event (HCAPEN = 1) can cause the QEIxIC register to take a copy of the current
position counter contents.
