Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

PIC24F Family Reference Manual
DS39741A-page 48-18 Preliminary © 2010 Microchip Technology Inc.
48.4.10 Status Register
To provide an overview of all comparator results, the comparator output bits, CxOUT
(CMxCON<8>) and the event bits, CxEVT (CMxCON<9>) are replicated as status bits in the
CMSTAT register.
These bits are read-only and can be altered only by manipulating the corresponding CMxCON
register or the comparator input signals. Figure 48-5 illustrates the comparator configurations.
Figure 48-5: Comparator Configurations
Cx
VIN-
V
IN+
Off (Read as '0')
Comparator Off
CON = 0, CREF = x, CCH<1:0> = xx
Comparator CxINB > CxINA Compare
CON = 1, CREF = 0, CCH<1:0> = 00
COE
CxOUT
Cx
VIN-
V
IN+
COE
C
XINB
C
XINA
Comparator CxIND > CxINA Compare
CON = 1, CREF = 0, CCH<1:0> = 10
Cx
VIN-
V
IN+
COE
CxOUT
C
XIND
C
XINA
Comparator CxINC > CxINA Compare
CON = 1, CREF = 0, CCH<1:0> = 01
Cx
VIN-
V
IN+
COE
C
XINC
C
XINA
Comparator VBG > CxINA Compare
CON = 1, CREF = 0, CCH<1:0> = 11
Cx
VIN-
V
IN+
COE
VBG
CXINA
Comparator CxINB > CVREF Compare
CON = 1, CREF = 1, CCH<1:0> = 00
Cx
VIN-
V
IN+
COE
C
XINB
CVREF
Comparator CxIND > CVREF Compare
CON = 1, CREF = 1, CCH<1:0> = 10
Cx
VIN-
V
IN+
COE
C
XIND
CVREF
Comparator CxINC > CVREF Compare
CON = 1, CREF = 1, CCH<1:0> = 01
Cx
VIN-
V
IN+
COE
C
XINC
CVREF
Comparator VBG > CVREF Compare
CON = 1, CREF = 1, CCH<1:0> = 11
Cx
VIN-
V
IN+
COE
VBG
CVREF
Pin
Pin
CxOUT
Pin
CxOUT
Pin
CxOUT
Pin
CxOUT
Pin
CxOUT
Pin
CxOUT
Pin
CxOUT
Pin

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh