English
Language : 

DSPIC30F6010A_11 Datasheet, PDF (162/236 Pages) Microchip Technology – High-Performance, 16-bit Digital Signal Controllers
dsPIC30F6010A/6015
21.5.2 IDLE MODE
In Idle mode, the clock to the CPU is shutdown while
peripherals keep running. Unlike Sleep mode, the clock
source remains active.
Several peripherals have a control bit in each module,
that allows them to operate during Idle.
LPRC fail-safe clock remains active if clock failure
detect is enabled.
The processor wakes up from Idle if at least one of the
following conditions is true:
• on any interrupt that is individually enabled (IE bit
is ‘1’) and meets the required priority level
• on any Reset (POR, BOR, MCLR)
• on WDT time-out
Upon wake-up from Idle mode, the clock is re-applied
to the CPU and instruction execution begins immedi-
ately, starting with the instruction following the PWRSAV
instruction.
Any interrupt that is individually enabled (using IE bit)
and meets the prevailing priority level will be able to
wake-up the processor. The processor will process the
interrupt and branch to the ISR. The Idle Status bit in
RCON register is set upon wake-up.
Any Reset, other than POR, will set the Idle Status bit.
On a POR, the Idle bit is cleared.
If Watchdog Timer is enabled, then the processor will
wake-up from Idle mode upon WDT time-out. The Idle
and WDTO Status bits are both set.
Unlike wake-up from Sleep, there are no time delays
involved in wake-up from Idle.
21.6 Device Configuration Registers
The Configuration bits in each device Configuration
register specify some of the device modes and are
programmed by a device programmer, or by using the
In-Circuit Serial Programming™ (ICSP™) feature of the
device. Each device Configuration register is a 24-bit
register, but only the lower 16 bits of each register are
used to hold configuration data. There are seven device
Configuration registers available to the user:
1. FOSC (0xF80000): Oscillator Configuration
register
2. FWDT (0xF80002): Watchdog Timer
Configuration register
3. FBORPOR (0xF80004): BOR and POR
Configuration register
4. FBS (0xF80006): Boot Code Segment
Configuration register
5. FSS (0xF80008): Secure Code Segment
Configuration register
6. FGS (0xF8000A): General Code Segment
Configuration register
7. FICD (0xF8000C): Debug Configuration
register
The placement of the Configuration bits is automatically
handled when you select the device in your device pro-
grammer. The desired state of the Configuration bits may
be specified in the source code (dependent on the lan-
guage tool used), or through the programming interface.
After the device has been programmed, the application
software may read the Configuration bit values through
the table read instructions. For additional information,
please refer to the “16-bit MCU and DSC Programmer’s
Reference Manual” (DS70157) and the “dsPIC30F
Family Reference Manual” (DS70046).
Note 1: If the code protection Configuration Fuse
bits (FBS(BSS<2:0>), FSS(SSS<2:0>),
FGS<GCP> and FGS<GWRP>) have
been programmed, an erase of the entire
code-protected device is only possible at
voltages VDD ≥ 4.5V.
2: This device supports an Advanced imple-
mentation of CodeGuard™ Security.
Please refer to the “CodeGuard Security”
chapter (DS70180) for information on
how CodeGuard Security may be used in
your application.
DS70150E-page 162
© 2011 Microchip Technology Inc.