Datasheet

2009 Microchip Technology Inc. DS39897C-page 291
PIC24FJ256GB110 FAMILY
bit 4 IOL1WAY: IOLOCK One-Way Set Enable bit
1 = The IOLOCK bit (OSCCON<6>)can be set once, provided the unlock sequence has been
completed. Once set, the Peripheral Pin Select registers cannot be written to a second time.
0 = The IOLOCK bit can be set and cleared as needed, provided the unlock sequence has been
completed
bit 3 DISUVREG: Internal USB 3.3V Regulator Disable bit
1 = Regulator is disabled
0 = Regulator is enabled
bit 2 Reserved: Always maintain as ‘1
bit 1-0 POSCMD<1:0>: Primary Oscillator Configuration bits
11 = Primary Oscillator disabled
10 = HS Oscillator mode selected
01 = XT Oscillator mode selected
00 = EC Oscillator mode selected
REGISTER 26-2: CW2: FLASH CONFIGURATION WORD 2 (CONTINUED)
REGISTER 26-3: CW3: FLASH CONFIGURATION WORD 3
U-1 U-1 U-1 U-1 U-1 U-1 U-1 U-1
bit 23 bit 16
R/PO-1 R/PO-1 R/PO-1 U-1 U-1 U-1 U-1 U-1
WPEND WPCFG WPDIS
bit 15 bit 8
R/PO-1 R/PO-1 R/PO-1 R/PO-1 R/PO-1 R/PO-1 R/PO-1 R/PO-1
WPFP7 WPFP6 WPFP5 WPFP4 WPFP3 WPFP2 WPFP1 WPFP0
bit 7 bit 0
Legend:
R = Readable bit PO = Program-once bit U = Unimplemented bit, read as ‘0
-n = Value when device is unprogrammed ‘1’ = Bit is set ‘0’ = Bit is cleared
bit 23-16 Unimplemented: Read as ‘1
bit 15 WPEND: Segment Write Protection End Page Select bit
1 = Protected code segment lower boundary is at the bottom of program memory (000000h); upper
boundary is the code page specified by WPFP<7:0>
0 = Protected code segment upper boundary is at the last page of program memory; lower boundary
is the code page specified by WPFP<7:0>
bit 14 WPCFG: Configuration Word Code Page Protection Select bit
1 = Last page (at the top of program memory) and Flash Configuration Words are not protected
0 = Last page and Flash Configuration Words are code protected
bit 13 WPDIS: Segment Write Protection Disable bit
1 = Segmented code protection disabled
0 = Segmented code protection enabled; protected segment defined by WPEND, WPCFG and
WPFPx Configuration bits
bit 12-8 Unimplemented: Read as ‘1
bit 7-0 WPFP<7:0>: Protected Code Segment Boundary Page bits
Designates the 512-word program code page that is the boundary of the protected code segment,
starting with Page 0 at the bottom of program memory.
If WPEND =
1:
Last address of designated code page is the upper boundary of the segment.
If WPEND = ‘0’:
First address of designated code page is the lower boundary of the segment.