All Enhanced Extended Regular 12 bits 14 bits 16 bits RAM
size
ROM
size
EEPROM
size
Common
SFRs
Features Configuration Bits RAM map SFR map
PIC18F66J99
CONFIG1L (address:0x017FF0, mask:0x60, default:0x60)
STVREN -- Stack Overflow/Underflow Reset (bitmask:0x20)
STVREN = OFF 0x00 Disabled.
STVREN = ON 0x20 Enabled.
XINST -- Extended Instruction Set (bitmask:0x40)
XINST = OFF 0x00 Disabled.
XINST = ON 0x40 Enabled.
CONFIG1H (address:0x017FF1, mask:0x07, default:0x07)
BOREN -- Brown-Out Reset Enable (bitmask:0x01)
BOREN = OFF 0x00 Disabled in hardware.
BOREN = ON 0x01 Controlled with SBOREN bit, disabled in Deep Sleep.
BORV -- Brown-out Reset Voltage (bitmask:0x02)
BORV = 0 0x00 2.0V.
BORV = 1 0x02 1.8V.
CP0 -- Code Protect (bitmask:0x04)
CP0 = ON 0x00 Program memory is code-protected.
CP0 = OFF 0x04 Program memory is not code-protected.
CONFIG2L (address:0x017FF2, mask:0xAF, default:0xAF)
FOSC -- Oscillator (bitmask:0x07)
FOSC = FRC 0x00 Fast RC Oscillator (FRC).
FOSC = FRCPLL 0x01 Fast RC Oscillator with PLL module (FRCPLL).
FOSC = PRI 0x02 Primary Oscillator (XT, HS, EC).
FOSC = PRIPLL 0x03 Primary Oscillator with PLL module (XTPLL,HSPLL,ECPLL).
FOSC = SOSC 0x04 Secondary Oscillator (SOSC).
FOSC = LPRC 0x05 Low-Power RC Oscillator (LPRC).
FOSC = FRC500KHZ 0x06 Fast RC Oscillator divided by 16 (500 kHz).
FOSC = FRCDIV 0x07 Fast RC Oscillator with Postscaler (FRCDIV).
SOSCSEL -- T1OSC/SOSC Power Selection Bits (bitmask:0x08)
SOSCSEL = DIG 0x00 Digital (SCLKI) mode.
SOSCSEL = LOW 0x08 Low Power T1OSC/SOSC circuit selected.
CLKOEN -- Clock Out Enable Bit (bitmask:0x20)
CLKOEN = OFF 0x00 CLKO output disabled on the RA6 pin.
CLKOEN = ON 0x20 CLKO output enabled on the RA6 pin.
IESO -- Internal External Oscillator Switch Over Mode (bitmask:0x80)
IESO = OFF 0x00 Disabled.
IESO = ON 0x80 Enabled.
CONFIG2H (address:0x017FF3, mask:0x0F, default:0x0F)
PLLDIV -- PLL Frequency Multiplier Select bits (bitmask:0x0F)
PLLDIV = NODIV 0x00 96 MHz PLL selected; No divide - Oscillator used directly (4 MHz input).
PLLDIV = DIV2 0x01 96 MHz PLL selected; Oscillator divided by 2 (8 MHz input).
PLLDIV = DIV3 0x02 96 MHz PLL selected; Oscillator divided by 3 (12 MHz input).
PLLDIV = DIV4 0x03 96 MHz PLL selected; Oscillator divided by 4 (16 MHz input).
PLLDIV = DIV5 0x04 96 MHz PLL selected; Oscillator divided by 5 (20 MHz input).
PLLDIV = DIV6 0x05 96 MHz PLL selected; Oscillator divided by 6 (24 MHz input).
PLLDIV = DIV10 0x06 96 MHz PLL selected; Oscillator divided by 10 (40 MHz input).
PLLDIV = DIV12 0x07 96 MHz PLL selected; Oscillator divided by 12 (48 MHz input).
PLLDIV = RESERVED 0x08 RESERVED.
PLLDIV = RESERVED 0x09 RESERVED.
PLLDIV = RESERVED 0x0A RESERVED.
PLLDIV = RESERVED 0x0B RESERVED.
PLLDIV = PLL4X 0x0C 4x PLL selected.
PLLDIV = PLL6X 0x0D 6x PLL selected.
PLLDIV = PLL8X 0x0E 8x PLL selected.
PLLDIV = NOPLL 0x0F No PLL used - PLLGO bit not available to user.
CONFIG3L (address:0x017FF4, mask:0x33, default:0x33)
POSCMD -- Primary Oscillator Select (bitmask:0x03)
POSCMD = EC 0x00 External clock mode selected.
POSCMD = MS 0x01 MS oscillator mode selected(3.5 MHz -10 MHz).
POSCMD = HS 0x02 HS oscillator mode selected(10 MHz - 40 MHz).
POSCMD = NONE 0x03 Primary oscillator disabled.
FSCM -- Clock Switching and Monitor Selection Configuration bits (bitmask:0x30)
FSCM = CSECME 0x00 Clock switching is enabled, fail safe clock monitor is enabled.
FSCM = CSECMD 0x10 Clock switching is enabled, fail safe clock monitor is disabled.
FSCM = CSDCMD 0x20 Clock switching is disabled, fail safe clock monitor is disabled.
CONFIG3H (address:0x017FF6, mask:0xFF, default:0xFF)
WPFP -- Write/Erase Protect Page Start/End Boundary (bitmask:0xFF)
WPFP = WPFP0 0x00 Write Protect Program Flash Page 0.
WPFP = WPFP1 0x01 Write Protect Program Flash Page 1.
WPFP = WPFP2 0x02 Write Protect Program Flash Page 2.
WPFP = WPFP3 0x03 Write Protect Program Flash Page 3.
WPFP = WPFP4 0x04 Write Protect Program Flash Page 4.
WPFP = WPFP5 0x05 Write Protect Program Flash Page 5.
WPFP = WPFP6 0x06 Write Protect Program Flash Page 6.
WPFP = WPFP7 0x07 Write Protect Program Flash Page 7.
WPFP = WPFP8 0x08 Write Protect Program Flash Page 8.
WPFP = WPFP9 0x09 Write Protect Program Flash Page 9.
WPFP = WPFP10 0x0A Write Protect Program Flash Page 10.
WPFP = WPFP11 0x0B Write Protect Program Flash Page 11.
WPFP = WPFP12 0x0C Write Protect Program Flash Page 12.
WPFP = WPFP13 0x0D Write Protect Program Flash Page 13.
WPFP = WPFP14 0x0E Write Protect Program Flash Page 14.
WPFP = WPFP15 0x0F Write Protect Program Flash Page 15.
WPFP = WPFP16 0x10 Write Protect Program Flash Page 16.
WPFP = WPFP17 0x11 Write Protect Program Flash Page 17.
WPFP = WPFP18 0x12 Write Protect Program Flash Page 18.
WPFP = WPFP19 0x13 Write Protect Program Flash Page 19.
WPFP = WPFP20 0x14 Write Protect Program Flash Page 20.
WPFP = WPFP21 0x15 Write Protect Program Flash Page 21.
WPFP = WPFP22 0x16 Write Protect Program Flash Page 22.
WPFP = WPFP23 0x17 Write Protect Program Flash Page 23.
WPFP = WPFP24 0x18 Write Protect Program Flash Page 24.
WPFP = WPFP25 0x19 Write Protect Program Flash Page 25.
WPFP = WPFP26 0x1A Write Protect Program Flash Page 26.
WPFP = WPFP27 0x1B Write Protect Program Flash Page 27.
WPFP = WPFP28 0x1C Write Protect Program Flash Page 28.
WPFP = WPFP29 0x1D Write Protect Program Flash Page 29.
WPFP = WPFP30 0x1E Write Protect Program Flash Page 30.
WPFP = WPFP31 0x1F Write Protect Program Flash Page 31.
WPFP = WPFP32 0x20 Write Protect Program Flash Page 32.
WPFP = WPFP33 0x21 Write Protect Program Flash Page 33.
WPFP = WPFP34 0x22 Write Protect Program Flash Page 34.
WPFP = WPFP35 0x23 Write Protect Program Flash Page 35.
WPFP = WPFP36 0x24 Write Protect Program Flash Page 36.
WPFP = WPFP37 0x25 Write Protect Program Flash Page 37.
WPFP = WPFP38 0x26 Write Protect Program Flash Page 38.
WPFP = WPFP39 0x27 Write Protect Program Flash Page 39.
WPFP = WPFP40 0x28 Write Protect Program Flash Page 40.
WPFP = WPFP41 0x29 Write Protect Program Flash Page 41.
WPFP = WPFP42 0x2A Write Protect Program Flash Page 42.
WPFP = WPFP43 0x2B Write Protect Program Flash Page 43.
WPFP = WPFP44 0x2C Write Protect Program Flash Page 44.
WPFP = WPFP45 0x2D Write Protect Program Flash Page 45.
WPFP = WPFP46 0x2E Write Protect Program Flash Page 46.
WPFP = WPFP47 0x2F Write Protect Program Flash Page 47.
WPFP = WPFP48 0x30 Write Protect Program Flash Page 48.
WPFP = WPFP49 0x31 Write Protect Program Flash Page 49.
WPFP = WPFP50 0x32 Write Protect Program Flash Page 50.
WPFP = WPFP51 0x33 Write Protect Program Flash Page 51.
WPFP = WPFP52 0x34 Write Protect Program Flash Page 52.
WPFP = WPFP53 0x35 Write Protect Program Flash Page 53.
WPFP = WPFP54 0x36 Write Protect Program Flash Page 54.
WPFP = WPFP55 0x37 Write Protect Program Flash Page 55.
WPFP = WPFP56 0x38 Write Protect Program Flash Page 56.
WPFP = WPFP57 0x39 Write Protect Program Flash Page 57.
WPFP = WPFP58 0x3A Write Protect Program Flash Page 58.
WPFP = WPFP59 0x3B Write Protect Program Flash Page 59.
WPFP = WPFP60 0x3C Write Protect Program Flash Page 60.
WPFP = WPFP61 0x3D Write Protect Program Flash Page 61.
WPFP = WPFP62 0x3E Write Protect Program Flash Page 62.
WPFP = WPFP63 0x3F Write Protect Program Flash Page 63.
WPFP = WPFP64 0x40 Write Protect Program Flash Page 64.
WPFP = WPFP65 0x41 Write Protect Program Flash Page 65.
WPFP = WPFP66 0x42 Write Protect Program Flash Page 66.
WPFP = WPFP67 0x43 Write Protect Program Flash Page 67.
WPFP = WPFP68 0x44 Write Protect Program Flash Page 68.
WPFP = WPFP69 0x45 Write Protect Program Flash Page 69.
WPFP = WPFP70 0x46 Write Protect Program Flash Page 70.
WPFP = WPFP71 0x47 Write Protect Program Flash Page 71.
WPFP = WPFP72 0x48 Write Protect Program Flash Page 72.
WPFP = WPFP73 0x49 Write Protect Program Flash Page 73.
WPFP = WPFP74 0x4A Write Protect Program Flash Page 74.
WPFP = WPFP75 0x4B Write Protect Program Flash Page 75.
WPFP = WPFP76 0x4C Write Protect Program Flash Page 76.
WPFP = WPFP77 0x4D Write Protect Program Flash Page 77.
WPFP = WPFP78 0x4E Write Protect Program Flash Page 78.
WPFP = WPFP79 0x4F Write Protect Program Flash Page 79.
WPFP = WPFP80 0x50 Write Protect Program Flash Page 80.
WPFP = WPFP81 0x51 Write Protect Program Flash Page 81.
WPFP = WPFP82 0x52 Write Protect Program Flash Page 82.
WPFP = WPFP83 0x53 Write Protect Program Flash Page 83.
WPFP = WPFP84 0x54 Write Protect Program Flash Page 84.
WPFP = WPFP85 0x55 Write Protect Program Flash Page 85.
WPFP = WPFP86 0x56 Write Protect Program Flash Page 86.
WPFP = WPFP87 0x57 Write Protect Program Flash Page 87.
WPFP = WPFP88 0x58 Write Protect Program Flash Page 88.
WPFP = WPFP89 0x59 Write Protect Program Flash Page 89.
WPFP = WPFP90 0x5A Write Protect Program Flash Page 90.
WPFP = WPFP91 0x5B Write Protect Program Flash Page 91.
WPFP = WPFP92 0x5C Write Protect Program Flash Page 92.
WPFP = WPFP93 0x5D Write Protect Program Flash Page 93.
WPFP = WPFP94 0x5E Write Protect Program Flash Page 94.
WPFP = WPFP95 0x5F Write Protect Program Flash Page 95.
WPFP = WPFP96 0x60 Write Protect Program Flash Page 96.
WPFP = WPFP97 0x61 Write Protect Program Flash Page 97.
WPFP = WPFP98 0x62 Write Protect Program Flash Page 98.
WPFP = WPFP99 0x63 Write Protect Program Flash Page 99.
WPFP = WPFP100 0x64 Write Protect Program Flash Page 100.
WPFP = WPFP101 0x65 Write Protect Program Flash Page 101.
WPFP = WPFP102 0x66 Write Protect Program Flash Page 102.
WPFP = WPFP103 0x67 Write Protect Program Flash Page 103.
WPFP = WPFP104 0x68 Write Protect Program Flash Page 104.
WPFP = WPFP105 0x69 Write Protect Program Flash Page 105.
WPFP = WPFP106 0x6A Write Protect Program Flash Page 106.
WPFP = WPFP107 0x6B Write Protect Program Flash Page 107.
WPFP = WPFP108 0x6C Write Protect Program Flash Page 108.
WPFP = WPFP109 0x6D Write Protect Program Flash Page 109.
WPFP = WPFP110 0x6E Write Protect Program Flash Page 110.
WPFP = WPFP111 0x6F Write Protect Program Flash Page 111.
WPFP = WPFP112 0x70 Write Protect Program Flash Page 112.
WPFP = WPFP113 0x71 Write Protect Program Flash Page 113.
WPFP = WPFP114 0x72 Write Protect Program Flash Page 114.
WPFP = WPFP115 0x73 Write Protect Program Flash Page 115.
WPFP = WPFP116 0x74 Write Protect Program Flash Page 116.
WPFP = WPFP117 0x75 Write Protect Program Flash Page 117.
WPFP = WPFP118 0x76 Write Protect Program Flash Page 118.
WPFP = WPFP119 0x77 Write Protect Program Flash Page 119.
WPFP = WPFP120 0x78 Write Protect Program Flash Page 120.
WPFP = WPFP121 0x79 Write Protect Program Flash Page 121.
WPFP = WPFP122 0x7A Write Protect Program Flash Page 122.
WPFP = WPFP123 0x7B Write Protect Program Flash Page 123.
WPFP = WPFP124 0x7C Write Protect Program Flash Page 124.
WPFP = WPFP125 0x7D Write Protect Program Flash Page 125.
WPFP = WPFP126 0x7E Write Protect Program Flash Page 126.
WPFP = WPFP127 0x7F Write Protect Program Flash Page 127.
WPFP = WPFP128 0x80 Write Protect Program Flash Page 128.
WPFP = WPFP129 0x81 Write Protect Program Flash Page 129.
WPFP = WPFP130 0x82 Write Protect Program Flash Page 130.
WPFP = WPFP131 0x83 Write Protect Program Flash Page 131.
WPFP = WPFP132 0x84 Write Protect Program Flash Page 132.
WPFP = WPFP133 0x85 Write Protect Program Flash Page 133.
WPFP = WPFP134 0x86 Write Protect Program Flash Page 134.
WPFP = WPFP135 0x87 Write Protect Program Flash Page 135.
WPFP = WPFP136 0x88 Write Protect Program Flash Page 136.
WPFP = WPFP137 0x89 Write Protect Program Flash Page 137.
WPFP = WPFP138 0x8A Write Protect Program Flash Page 138.
WPFP = WPFP139 0x8B Write Protect Program Flash Page 139.
WPFP = WPFP140 0x8C Write Protect Program Flash Page 140.
WPFP = WPFP141 0x8D Write Protect Program Flash Page 141.
WPFP = WPFP142 0x8E Write Protect Program Flash Page 142.
WPFP = WPFP143 0x8F Write Protect Program Flash Page 143.
WPFP = WPFP144 0x90 Write Protect Program Flash Page 144.
WPFP = WPFP145 0x91 Write Protect Program Flash Page 145.
WPFP = WPFP146 0x92 Write Protect Program Flash Page 146.
WPFP = WPFP147 0x93 Write Protect Program Flash Page 147.
WPFP = WPFP148 0x94 Write Protect Program Flash Page 148.
WPFP = WPFP149 0x95 Write Protect Program Flash Page 149.
WPFP = WPFP150 0x96 Write Protect Program Flash Page 150.
WPFP = WPFP151 0x97 Write Protect Program Flash Page 151.
WPFP = WPFP152 0x98 Write Protect Program Flash Page 152.
WPFP = WPFP153 0x99 Write Protect Program Flash Page 153.
WPFP = WPFP154 0x9A Write Protect Program Flash Page 154.
WPFP = WPFP155 0x9B Write Protect Program Flash Page 155.
WPFP = WPFP156 0x9C Write Protect Program Flash Page 156.
WPFP = WPFP157 0x9D Write Protect Program Flash Page 157.
WPFP = WPFP158 0x9E Write Protect Program Flash Page 158.
WPFP = WPFP159 0x9F Write Protect Program Flash Page 159.
WPFP = WPFP160 0xA0 Write Protect Program Flash Page 160.
WPFP = WPFP161 0xA1 Write Protect Program Flash Page 161.
WPFP = WPFP162 0xA2 Write Protect Program Flash Page 162.
WPFP = WPFP163 0xA3 Write Protect Program Flash Page 163.
WPFP = WPFP164 0xA4 Write Protect Program Flash Page 164.
WPFP = WPFP165 0xA5 Write Protect Program Flash Page 165.
WPFP = WPFP166 0xA6 Write Protect Program Flash Page 166.
WPFP = WPFP167 0xA7 Write Protect Program Flash Page 167.
WPFP = WPFP168 0xA8 Write Protect Program Flash Page 168.
WPFP = WPFP169 0xA9 Write Protect Program Flash Page 169.
WPFP = WPFP170 0xAA Write Protect Program Flash Page 170.
WPFP = WPFP171 0xAB Write Protect Program Flash Page 171.
WPFP = WPFP172 0xAC Write Protect Program Flash Page 172.
WPFP = WPFP173 0xAD Write Protect Program Flash Page 173.
WPFP = WPFP174 0xAE Write Protect Program Flash Page 174.
WPFP = WPFP175 0xAF Write Protect Program Flash Page 175.
WPFP = WPFP176 0xB0 Write Protect Program Flash Page 176.
WPFP = WPFP177 0xB1 Write Protect Program Flash Page 177.
WPFP = WPFP178 0xB2 Write Protect Program Flash Page 178.
WPFP = WPFP179 0xB3 Write Protect Program Flash Page 179.
WPFP = WPFP180 0xB4 Write Protect Program Flash Page 180.
WPFP = WPFP181 0xB5 Write Protect Program Flash Page 181.
WPFP = WPFP182 0xB6 Write Protect Program Flash Page 182.
WPFP = WPFP183 0xB7 Write Protect Program Flash Page 183.
WPFP = WPFP184 0xB8 Write Protect Program Flash Page 184.
WPFP = WPFP185 0xB9 Write Protect Program Flash Page 185.
WPFP = WPFP186 0xBA Write Protect Program Flash Page 186.
WPFP = WPFP187 0xBB Write Protect Program Flash Page 187.
WPFP = WPFP188 0xBC Write Protect Program Flash Page 188.
WPFP = WPFP189 0xBD Write Protect Program Flash Page 189.
WPFP = WPFP190 0xBE Write Protect Program Flash Page 190.
WPFP = WPFP191 0xBF Write Protect Program Flash Page 191.
WPFP = WPFP192 0xC0 Write Protect Program Flash Page 192.
WPFP = WPFP193 0xC1 Write Protect Program Flash Page 193.
WPFP = WPFP194 0xC2 Write Protect Program Flash Page 194.
WPFP = WPFP195 0xC3 Write Protect Program Flash Page 195.
WPFP = WPFP196 0xC4 Write Protect Program Flash Page 196.
WPFP = WPFP197 0xC5 Write Protect Program Flash Page 197.
WPFP = WPFP198 0xC6 Write Protect Program Flash Page 198.
WPFP = WPFP199 0xC7 Write Protect Program Flash Page 199.
WPFP = WPFP200 0xC8 Write Protect Program Flash Page 200.
WPFP = WPFP201 0xC9 Write Protect Program Flash Page 201.
WPFP = WPFP202 0xCA Write Protect Program Flash Page 202.
WPFP = WPFP203 0xCB Write Protect Program Flash Page 203.
WPFP = WPFP204 0xCC Write Protect Program Flash Page 204.
WPFP = WPFP205 0xCD Write Protect Program Flash Page 205.
WPFP = WPFP206 0xCE Write Protect Program Flash Page 206.
WPFP = WPFP207 0xCF Write Protect Program Flash Page 207.
WPFP = WPFP208 0xD0 Write Protect Program Flash Page 208.
WPFP = WPFP209 0xD1 Write Protect Program Flash Page 209.
WPFP = WPFP210 0xD2 Write Protect Program Flash Page 210.
WPFP = WPFP211 0xD3 Write Protect Program Flash Page 211.
WPFP = WPFP212 0xD4 Write Protect Program Flash Page 212.
WPFP = WPFP213 0xD5 Write Protect Program Flash Page 213.
WPFP = WPFP214 0xD6 Write Protect Program Flash Page 214.
WPFP = WPFP215 0xD7 Write Protect Program Flash Page 215.
WPFP = WPFP216 0xD8 Write Protect Program Flash Page 216.
WPFP = WPFP217 0xD9 Write Protect Program Flash Page 217.
WPFP = WPFP218 0xDA Write Protect Program Flash Page 218.
WPFP = WPFP219 0xDB Write Protect Program Flash Page 219.
WPFP = WPFP220 0xDC Write Protect Program Flash Page 220.
WPFP = WPFP221 0xDD Write Protect Program Flash Page 221.
WPFP = WPFP222 0xDE Write Protect Program Flash Page 222.
WPFP = WPFP223 0xDF Write Protect Program Flash Page 223.
WPFP = WPFP224 0xE0 Write Protect Program Flash Page 224.
WPFP = WPFP225 0xE1 Write Protect Program Flash Page 225.
WPFP = WPFP226 0xE2 Write Protect Program Flash Page 226.
WPFP = WPFP227 0xE3 Write Protect Program Flash Page 227.
WPFP = WPFP228 0xE4 Write Protect Program Flash Page 228.
WPFP = WPFP229 0xE5 Write Protect Program Flash Page 229.
WPFP = WPFP230 0xE6 Write Protect Program Flash Page 230.
WPFP = WPFP231 0xE7 Write Protect Program Flash Page 231.
WPFP = WPFP232 0xE8 Write Protect Program Flash Page 232.
WPFP = WPFP233 0xE9 Write Protect Program Flash Page 233.
WPFP = WPFP234 0xEA Write Protect Program Flash Page 234.
WPFP = WPFP235 0xEB Write Protect Program Flash Page 235.
WPFP = WPFP236 0xEC Write Protect Program Flash Page 236.
WPFP = WPFP237 0xED Write Protect Program Flash Page 237.
WPFP = WPFP238 0xEE Write Protect Program Flash Page 238.
WPFP = WPFP239 0xEF Write Protect Program Flash Page 239.
WPFP = WPFP240 0xF0 Write Protect Program Flash Page 240.
WPFP = WPFP241 0xF1 Write Protect Program Flash Page 241.
WPFP = WPFP242 0xF2 Write Protect Program Flash Page 242.
WPFP = WPFP243 0xF3 Write Protect Program Flash Page 243.
WPFP = WPFP244 0xF4 Write Protect Program Flash Page 244.
WPFP = WPFP245 0xF5 Write Protect Program Flash Page 245.
WPFP = WPFP246 0xF6 Write Protect Program Flash Page 246.
WPFP = WPFP247 0xF7 Write Protect Program Flash Page 247.
WPFP = WPFP248 0xF8 Write Protect Program Flash Page 248.
WPFP = WPFP249 0xF9 Write Protect Program Flash Page 249.
WPFP = WPFP250 0xFA Write Protect Program Flash Page 250.
WPFP = WPFP251 0xFB Write Protect Program Flash Page 251.
WPFP = WPFP252 0xFC Write Protect Program Flash Page 252.
WPFP = WPFP253 0xFD Write Protect Program Flash Page 253.
WPFP = WPFP254 0xFE Write Protect Program Flash Page 254.
WPFP = WPFP255 0xFF Write Protect Program Flash Page 255.
CONFIG4L (address:0x017FF7, mask:0x07, default:0x07)
WPDIS -- Segment Write Protection Disable (bitmask:0x01)
WPDIS = WPEN 0x00 Enabled.
WPDIS = WPDIS 0x01 Disabled.
WPEND -- Segment Write Protection End Page Select (bitmask:0x02)
WPEND = WPSTARTMEM 0x00 write Protect from page 0 to WPFP.
WPEND = WPENDMEM 0x02 Write Protect from WPFP to the last page of memory.
WPCFG -- Write Protect Configuration Page Select (bitmask:0x04)
WPCFG = WPCFGEN 0x00 Enabled.
WPCFG = WPCFGDIS 0x04 Disabled.
CONFIG4H (address:0x017FF8, mask:0x03, default:0x03)
T5GSEL -- TMR5 Gate Select bit (bitmask:0x01)
T5GSEL = T3G 0x00 TMR5 Gate is driven by the T3G input.
T5GSEL = T5G 0x01 TMR5 Gate is driven by the T5G input.
CINASEL -- CxINA Gate Select bit (bitmask:0x02)
CINASEL = RA5 0x00 C1INA and C3INA are all re-mapped to pin RA5.
CINASEL = DEFAULT 0x02 C1INA and C3INA are on their default pin locations.
CONFIG5L (address:0x017FF9, mask:0x0F, default:0x0F)
IOL1WAY -- IOLOCK One-Way Set Enable bit (bitmask:0x01)
IOL1WAY = OFF 0x00 the IOLOCK bit can be set and cleared using the unlock sequence.
IOL1WAY = ON 0x01 Once set, the IOLOCK bit cannot be cleared.
LS48MHZ -- USB Low Speed Clock Select bit (bitmask:0x02)
LS48MHZ = SYSX1 0x00 Divide-by-1 (System clock must be 6 MHz).
LS48MHZ = SYSX2 0x02 Divide-by-2 (System clock must be 12 MHz).
MSSPMSK2 -- MSSP2 7-Bit Address Masking Mode Enable bit (bitmask:0x04)
MSSPMSK2 = MSK5 0x00 5 Bit address masking mode.
MSSPMSK2 = MSK7 0x04 7 Bit address masking mode.
MSSPMSK1 -- MSSP1 7-Bit Address Masking Mode Enable bit (bitmask:0x08)
MSSPMSK1 = MSK5 0x00 5 bit address masking mode.
MSSPMSK1 = MSK7 0x08 7 Bit address masking mode.
CONFIG5H (address:0x017FFA, mask:0xFF, default:0xFF)
WDTWIN -- Watch Dog Timer Window (bitmask:0x03)
WDTWIN = PS75_0 0x00 Watch Dog Timer Window Width is 75 percent.
WDTWIN = PS50_0 0x01 Watch Dog Timer Window Width is 50 percent.
WDTWIN = PS37_5 0x02 Watch Dog Timer Window Width is 37.5 percent.
WDTWIN = PS25_0 0x03 Watch Dog Timer Window Width is 25 percent.
WDTCLK -- Watch Dog Timer Clock Source (bitmask:0x0C)
WDTCLK = SYS 0x00 Use FOSC/4 when system clock is not INTOSC/LPRC and device is not in Sleep; otherwise, use INTOSC/LPRC.
WDTCLK = SOSC 0x04 Always use SOSC.
WDTCLK = LPRC 0x08 Always use INTOSC/LPRC.
WDTCLK = FRC 0x0C Use FRC when WINDIS = 0, system clock is not INTOSC/LPRC and device is not in Sleep; otherwise, use INTOSC/LPRC.
WDTPS -- Watchdog Timer Postscale (bitmask:0xF0)
WDTPS = 1 0x00 1:1.
WDTPS = 2 0x10 1:2.
WDTPS = 4 0x20 1:4.
WDTPS = 8 0x30 1:8.
WDTPS = 16 0x40 1:16.
WDTPS = 32 0x50 1:32.
WDTPS = 64 0x60 1:64.
WDTPS = 128 0x70 1:128.
WDTPS = 256 0x80 1:256.
WDTPS = 512 0x90 1:512.
WDTPS = 1024 0xA0 1:1024.
WDTPS = 2048 0xB0 1:2048.
WDTPS = 4096 0xC0 1:4096.
WDTPS = 8192 0xD0 1:8192.
WDTPS = 16384 0xE0 1:16384.
WDTPS = 32768 0xF0 1:32768.
CONFIG6L (address:0x017FFB, mask:0x0F, default:0x0F)
WDTEN -- Watchdog Timer Enable (bitmask:0x03)
WDTEN = OFF 0x00 WDT disabled in hardware; SWDTEN bit disabled.
WDTEN = NOSLP 0x01 WDT enabled only while device is active and disabled in Sleep mode; SWDTEN bit disabled.
WDTEN = ON 0x02 WDT controlled by SWDTEN bit setting.
WDTEN = SWDTDIS 0x03 WDT enabled in hardware; SWDTEN bit disabled.
WINDIS -- Windowed Watchdog Timer Disable (bitmask:0x04)
WINDIS = WDTWIN 0x00 Windowed WDT enabled.
WINDIS = WDTSTD 0x04 Standard WDT selected; windowed WDT disabled.
WPSA -- WDT Prescaler (bitmask:0x08)
WPSA = 32 0x00 WDT prescaler ratio of 1:32.
WPSA = 128 0x08 WDT prescaler ratio of 1:128.
CONFIG6H (address:0x017FFC, mask:0x1D, default:0x1D)
RETEN -- Retention Voltage Regulator Control Enable (bitmask:0x01)
RETEN = ON 0x00 Retention controlled by SRETEN during Sleep.
RETEN = OFF 0x01 Retention not available.
VBTBOR -- VBAT BOR Enable (bitmask:0x04)
VBTBOR = OFF 0x00 VBAT BOR is disabled.
VBTBOR = ON 0x04 VBAT BOR is enabled.
DSBOREN -- Deep Sleep BOR Enable (bitmask:0x08)
DSBOREN = OFF 0x00 BOR disabled in Deep Sleep (does not affect operation in non-Deep Sleep modes).
DSBOREN = ON 0x08 BOR enabled in Deep Sleep.
DSBITEN -- DSEN Bit Enable bit (bitmask:0x10)
DSBITEN = OFF 0x00 Deep Sleep operation is always disabled.
DSBITEN = ON 0x10 Deep Sleep is controlled by the register bit DSEN.
CONFIG7L (address:0x017FFE, mask:0xF8, default:0xF8)
DSWDTPS -- Deep Sleep Watchdog Timer Postscale Select (bitmask:0xF8)
DSWDTPS = DSWDTPS0 0x00 1:32 (1 mS).
DSWDTPS = DSWDTPS1 0x08 1:64 (2.1 mS).
DSWDTPS = DSWDTPS2 0x10 1:128 (4.1 mS).
DSWDTPS = DSWDTPS3 0x18 1: 256 (8.3 mS).
DSWDTPS = DSWDTPS4 0x20 1:512 (16.5 mS).
DSWDTPS = DSWDTPS5 0x28 1:1024 (33 mS).
DSWDTPS = DSWDTPS6 0x30 1:2048 (66.1 mS).
DSWDTPS = DSWDTPS7 0x38 1:4096 (132.1 mS).
DSWDTPS = DSWDTPS8 0x40 1:8192 (264.3 mS).
DSWDTPS = DSWDTPS9 0x48 1:16384 (528.5 mS).
DSWDTPS = DSWDTPSA 0x50 1:32768 (1.057 Secs).
DSWDTPS = DSWDTPSB 0x58 1:65536 (2.114 Secs).
DSWDTPS = DSWDTPSC 0x60 1:131072 (4.228 Secs).
DSWDTPS = DSWDTPSD 0x68 1:262114 (8.456 Secs).
DSWDTPS = DSWDTPSE 0x70 1:524288 (16.912 Secs).
DSWDTPS = DSWDTPSF 0x78 1:1048576 (33.825 Secs).
DSWDTPS = DSWDTPS10 0x80 1:2097152 (67.7 Secs).
DSWDTPS = DSWDTPS11 0x88 1:4194304 (135.3 Secs).
DSWDTPS = DSWDTPS12 0x90 1:8388608 (4.5 Minutes).
DSWDTPS = DSWDTPS13 0x98 1:16777216 (9 Minutes).
DSWDTPS = DSWDTPS14 0xA0 1:33554432 (18 Minutes).
DSWDTPS = DSWDTPS15 0xA8 1:67108864 (36.1 Minutes).
DSWDTPS = DSWDTPS16 0xB0 1:134217728 (72.2 Minutes).
DSWDTPS = DSWDTPS17 0xB8 1:268435456 (2.4 Hours).
DSWDTPS = DSWDTPS18 0xC0 1:536870912 (4.8 Hours).
DSWDTPS = DSWDTPS19 0xC8 1:1073741824 (9.6 Hours).
DSWDTPS = DSWDTPS1A 0xD0 1:2147483648 (19.2 Hours).
DSWDTPS = DSWDTPS1B 0xD8 1:4294967296 (38.5 Hours).
DSWDTPS = DSWDTPS1C 0xE0 1:8589934592 (77 Hours).
DSWDTPS = DSWDTPS1D 0xE8 1:17179869184 (6.4 Days).
DSWDTPS = DSWDTPS1E 0xF0 1:34359738368 (12.8 Days).
DSWDTPS = DSWDTPS1F 0xF8 1:68719476736 (25.7 Days).
CONFIG7H (address:0x017FFF, mask:0x03, default:0x03)
DSWDTEN -- Deep Sleep Watchdog Timer Enable (bitmask:0x01)
DSWDTEN = OFF 0x00 DSWDT Disabled.
DSWDTEN = ON 0x01 DSWDT Enabled.
DSWDTOSC -- DSWDT Reference Clock Select (bitmask:0x02)
DSWDTOSC = SOSC 0x00 DSWDT uses SOSC as reference clock.
DSWDTOSC = LPRC 0x02 DSWDT uses LPRC as reference clock.

This page generated automatically by the device-help.pl program (2017-05-13 09:29:49 UTC) from the 8bit_device.info file (rev: 1.36) of mpasmx and from the gputils source package (rev: svn 1308). The mpasmx is included in the MPLAB X.