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
PIC18C658
CONFIG1L (address:0x300000, mask:0xFF, default:0xFF)
CP -- Code Protection bits (bitmask:0xFF)
CP = ON 0x00 All of program memory code protected.
CP = OFF 0xFF Program memory code protection off.
CONFIG1H (address:0x300001, mask:0x27, default:0x27)
OSC -- Oscillator Selection bits (bitmask:0x07)
OSC = LP 0xF8 LP oscillator.
OSC = XT 0xF9 XT oscillator.
OSC = HS 0xFA HS oscillator.
OSC = RC 0xFB RC oscillator.
OSC = EC 0xFC EC oscillator w/ OSC2 configured as divide by 4 clock output.
OSC = ECIO 0xFD EC oscillator w/ OSC2 configured as RA6.
OSC = HSPLL 0xFE HS4 oscillator with PLL enabled/Clock frequency = (4 x Fosc).
OSC = RCIO 0xFF RC oscillator w/ OSC2 configured as RA6.
OSCS -- Oscillator System Clock Switch Enable bit (bitmask:0x20)
OSCS = ON 0xDF Oscillator system clock switch option is enabled (Oscillator switching is enabled).
OSCS = OFF 0xFF Oscillator system clock switch option is disabled (Main oscillator is source).
CONFIG2L (address:0x300002, mask:0x0F, default:0x0F)
PWRT -- Power-up Timer Enable bit (bitmask:0x01)
PWRT = ON 0xFE PWRT enabled.
PWRT = OFF 0xFF PWRT disabled.
BOR -- Brown-out Reset Enable bit (bitmask:0x02)
BOR = OFF 0xFD Brown-out Reset disabled.
BOR = ON 0xFF Brown-out Reset enabled.
BORV -- Brown-out Reset Voltage bits (bitmask:0x0C)
BORV = 45 0xF3 VBOR set to 4.5V.
BORV = 42 0xF7 VBOR set to 4.2V.
BORV = 27 0xFB VBOR set to 2.7V.
BORV = 25 0xFF VBOR set to 2.5V.
CONFIG2H (address:0x300003, mask:0x0F, default:0x0F)
WDT -- Watchdog Timer Enable bit (bitmask:0x01)
WDT = OFF 0xFE WDT disabled (control is placed on the SWDTEN bit).
WDT = ON 0xFF WDT enabled.
WDTPS -- Watchdog Timer Postscale Select bits (bitmask:0x0E)
WDTPS = 1 0xF1 1:1.
WDTPS = 2 0xF3 1:2.
WDTPS = 4 0xF5 1:4.
WDTPS = 8 0xF7 1:8.
WDTPS = 16 0xF9 1:16.
WDTPS = 32 0xFB 1:32.
WDTPS = 64 0xFD 1:64.
WDTPS = 128 0xFF 1:128.
CONFIG4L (address:0x300006, mask:0x01, default:0x01)
STVR -- Stack Full/Underflow RESET Enable bit (bitmask:0x01)
STVR = OFF 0xFE Stack Full/Underflow will not cause RESET.
STVR = ON 0xFF Stack Full/Underflow will cause RESET.

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.