IP2022 User’s Manual—Register Quick Reference www.ubicom.com 403 C.3.2 CMPCFG Register (Comparator Configuration) ADCS2:0 A/D converter input channel select 000 =   Port pin RG0
001 =   Port pin RG1
010 =   Port pin RG2
011 =   Port pin RG3
100 =   Port pin RG4
101 =   Port pin RG5
110 =   Port pin RG6
111 =   Port pin RG7 Name Description 7 6 5 4 1 0 CMPEN CMPOE   CMPHYS 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.