Datasheet
PIC24FJ128GA310 FAMILY
DS39996F-page 162 2010-2011 Microchip Technology Inc.
REGISTER 10-1: DSCON: DEEP SLEEP CONTROL REGISTER
(1)
R/W-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
DSEN — — — — — — —
bit 15 bit 8
U-0 U-0 U-0 U-0 U-0 r-0 R/W-0 R/C-0, HS
— — — — — r DSBOR
(2)
RELEASE
bit 7 bit 0
Legend: C = Clearable bit U = Unimplemented bit, read as ‘0’
R = Readable bit W = Writable bit HS = Hardware Settable bit r = Reserved bit
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
bit 15 DSEN: Deep Sleep Enable bit
1 = Enters Deep Sleep on execution of PWRSAV #0
0 = Enters normal Sleep on execution of PWRSAV #0
bit 14-3 Unimplemented: Read as ‘0’
bit 2 Reserved: Maintain as ‘0’
bit 1 DSBOR: Deep Sleep BOR Event bit
(2)
1 = The DSBOR was active and a BOR event was detected during Deep Sleep
0 = The DSBOR was not active or was active but did not detect a BOR event during Deep Sleep
bit 0 RELEASE: I/O Pin State Release bit
1 = Upon waking from Deep Sleep, I/O pins maintain their states previous to Deep Sleep entry
0 = Release I/O pins from their state previous to Deep Sleep entry, and allow their respective TRIS and
LAT bits to control their states
Note 1: All register bits are reset only in the case of a POR event outside of Deep Sleep mode.
2: Unlike all other events, a Deep Sleep BOR event will NOT cause a wake-up from Deep Sleep; this
re-arms POR.