Datasheet
2009-2012 Microchip Technology Inc. DS70594D-page 195
dsPIC33FJXXXMCX06A/X08A/X10A
bit 4-3 TQCKPS<1:0>: Timer Input Clock Prescale Select bits
11 = 1:256 prescale value
10 = 1:64 prescale value
01 = 1:8 prescale value
00 = 1:1 prescale value
(Prescaler utilized for 16-Bit Timer mode only.)
bit 2 POSRES: Position Counter Reset Enable bit
1 = Index pulse resets position counter
0 = Index pulse does not reset position counter
(Bit only applies when QEIM<2:0> = 100 or 110.)
bit 1 TQCS: Timer Clock Source Select bit
1 = External clock from QEA pin (on the rising edge)
0 = Internal clock (T
CY)
bit 0 UPDN_SRC: Position Counter Direction Selection Control bit
(1)
1 = QEB pin state defines position counter direction
0 = Control/status bit, UPDN (QEICON<11>), defines Position Counter (POSxCNT) direction
REGISTER 17-1: QEIxCON: QEIx CONTROL REGISTER (CONTINUED)
Note 1: When configured for QEI mode, the control bit is a ‘don’t care’.