dsPIC30F Family Reference Manual
DS70071C-page 24-6 © 2004 Microchip Technology Inc.
Register 24-4: FGS: General Code Segment Configuration Register
Upper Byte:
UU UUUUUU
— — — — — — — —
bit 23 bit 16
Middle Byte:
UU UUUUUU
— — — — — — — —
bit 15 bit 8
Lower Byte:
UU UUUUPP
— — — — — — GCP GWRP
bit 7 bit 0
bit 23-2 Unimplemented: Read as ‘0’
bit 1 GCP: General Code Segment Code Protect bit
1 = User program memory is not code protected
0 = User program memory is code protected
bit 0 GWRP: General Code Segment Write Protect bit
1 = User program memory is not write protected
0 = User program memory is write protected
Note: The BCP and GWRP configuration bits can only be programmed to a ‘0’.
Legend:
R = Readable bit P = Programmable bit U = Unimplemented bit