English
Language : 

PIC24EP256GU810-I Datasheet, PDF (326/622 Pages) Electronic Film Capacitors, Inc. – 16-Bit Microcontrollers and Digital Signal Controllers with High-Speed PWM, USB and Advanced Analog
dsPIC33EPXXX(GP/MC/MU)806/810/814 and PIC24EPXXX(GP/GU)810/814
REGISTER 17-2: QEIxIOC: QEIx I/O CONTROL REGISTER
R/W-0
QCAPEN
bit 15
R/W-0
FLTREN
R/W-0
R/W-0
QFDIV<2:0>
R/W-0
R/W-0
R/W-0
OUTFNC<1:0>
R/W-0
SWPAB
bit 8
R/W-0
HOMPOL
bit 7
R/W-0
IDXPOL
R/W-0
QEBPOL
R/W-0
QEAPOL
R-x
HOME
R-x
INDEX
R-x
QEB
R-x
QEA
bit 0
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
x = Bit is unknown
bit 15
bit 14
bit 13-11
bit 10-9
bit 8
bit 7
bit 6
bit 5
bit 4
bit 3
QCAPEN: Position Counter Input Capture Enable bit
1 = Positive edge detect of home input triggers position capture function
0 = HOMEx input event (positive edge) does not trigger a capture event
FLTREN: QEAx/QEBx/INDXx/HOMEx Digital Filter Enable bit
1 = Input pin digital filter is enabled
0 = Input pin digital filter is disabled (bypassed)
QFDIV<2:0>: QEAx/QEBx/INDXx/HOMEx Digital Input Filter Clock Divide Select bits
111 = 1:256 clock divide
110 = 1:64 clock divide
101 = 1:32 clock divide
100 = 1:16 clock divide
011 = 1:8 clock divide
010 = 1:4 clock divide
001 = 1:2 clock divide
000 = 1:1 clock divide
OUTFNC<1:0>: QEI Module Output Function Mode Select bits
11 = The CTNCMPx pin goes high when QEIxLEC  POSxCNT  QEIxGEC
10 = The CTNCMPx pin goes high when POSxCNT  QEIxLEC
01 = The CTNCMPx pin goes high when POSxCNT  QEIxGEC
00 = Output is disabled
SWPAB: Swap QEA and QEB Inputs bit
1 = QEAx and QEBx are swapped prior to quadrature decoder logic
0 = QEAx and QEBx are not swapped
HOMPOL: HOMEx Input Polarity Select bit
1 = Input is inverted
0 = Input is not inverted
IDXPOL: HOMEx Input Polarity Select bit
1 = Input is inverted
0 = Input is not inverted
QEBPOL: QEBx Input Polarity Select bit
1 = Input is inverted
0 = Input is not inverted
QEAPOL: QEAx Input Polarity Select bit
1 = Input is inverted
0 = Input is not inverted
HOME: Status of HOMEx Input Pin After Polarity Control bit
1 = Pin is at logic ‘1’
0 = Pin is at logic ‘0’
DS70616G-page 326
 2009-2012 Microchip Technology Inc.