Peripherals—IP2022 User’s Manual 302 www.ubicom.com 4.8.1 CMPCFG Register 7 6 5 4 3 1 0 CMPEN    CMPOE   CMPHYS CMPMOD Reserved CMPRES Name Description CMPEN Comparator enable bit 0 =   Comparator disabled
1 =   Comparator enabled
CMPOE Comparator output enable bit 0 =   Comparator output disabled.
1 =   Comparator output enabled on port pin RG0.
CMPHYS Comparator hysteresis enable bit 0 =   Hysteresis disabled
1 =   Hysteresis enabled
CMPMOD Comparator mode bit 0 =   Normal mode
1 =   Squelch or comparator mode for Ethernet
CMPRES Comparator result (read-only) 0 =   RG2 voltage > RG1
1 =   RG1 voltage > RG2