|
PIC18LF252-ISP Datasheet, PDF (198/332 Pages) Microchip Technology – High-Performance, Enhanced Flash Microcontrollers with 10-Bit A/D | |||
|
◁ |
PIC18FXX2
TABLE 19-1: CONFIGURATION BITS AND DEVICE IDS
File Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Default/
Unprogrammed
Value
300001h CONFIG1H
â
â
OSCSEN
â
â
FOSC2 FOSC1
300002h CONFIG2L
â
â
â
â
BORV1 BORV0 BOREN
300003h CONFIG2H
â
â
â
â
WDTPS2 WDTPS1 WDTPS0
300005h CONFIG3H
â
â
â
â
â
â
â
300006h CONFIG4L DEBUG
â
â
â
â
LVP
â
300008h CONFIG5L
â
â
â
â
CP3
CP2
CP1
300009h CONFIG5H CPD
CPB
â
â
â
â
â
30000Ah CONFIG6L
â
â
â
â
WRT3
WRT2
WRT1
30000Bh CONFIG6H WRTD WRTB WRTC
â
â
â
â
30000Ch CONFIG7L
â
â
â
â
EBTR3 EBTR2 EBTR1
30000Dh CONFIG7H
â
EBTRB
â
â
â
â
â
3FFFFEh DEVID1
3FFFFFh DEVID2
DEV2
DEV10
DEV1
DEV9
DEV0
DEV8
REV4
DEV7
REV3
DEV6
REV2
DEV5
REV1
DEV4
Legend: x = unknown, u = unchanged, - = unimplemented, q = value depends on condition.
Shaded cells are unimplemented, read as â0â.
Note 1: See Register 19-12 for DEVID1 values.
FOSC0
PWRTEN
WDTEN
CCP2MX
STVREN
CP0
â
WRT0
â
EBTR0
â
REV0
DEV3
--1- -111
---- 1111
---- 1111
---- ---1
1--- -1-1
---- 1111
11-- ----
---- 1111
111- ----
---- 1111
-1-- ----
(1)
0000 0100
REGISTER 19-1: CONFIGURATION REGISTER 1 HIGH (CONFIG1H: BYTE ADDRESS 300001h)
U-0
â
bit 7
U-0
R/P-1
U-0
â
OSCSEN
â
U-0
R/P-1 R/P-1 R/P-1
â
FOSC2 FOSC1 FOSC0
bit 0
bit 7-6
bit 5
bit 4-3
bit 2-0
Unimplemented: Read as â0â
OSCSEN: Oscillator System Clock Switch Enable bit
1 = Oscillator system clock switch option is disabled (main oscillator is source)
0 = Oscillator system clock switch option is enabled (oscillator switching is enabled)
Unimplemented: Read as â0â
FOSC2:FOSC0: Oscillator Selection bits
111 = RC oscillator w/ OSC2 configured as RA6
110 = HS oscillator with PLL enabled/Clock frequency = (4 x FOSC)
101 = EC oscillator w/ OSC2 configured as RA6
100 = EC oscillator w/ OSC2 configured as divide-by-4 clock output
011 = RC oscillator
010 = HS oscillator
001 = XT oscillator
000 = LP oscillator
Legend:
R = Readable bit
P = Programmable bit
- n = Value when device is unprogrammed
U = Unimplemented bit, read as â0â
u = Unchanged from programmed state
DS39564C-page 196
© 2006 Microchip Technology Inc.
|
▷ |