SAH-C515 SIEMENS [Siemens Semiconductor Group], SAH-C515 Datasheet - Page 133

no-image

SAH-C515

Manufacturer Part Number
SAH-C515
Description
8-Bit CMOS Microcontroller
Manufacturer
SIEMENS [Siemens Semiconductor Group]
Datasheet
9.2
The functions of the power saving modes are controlled by bits which are located in the special
function register PCON. The bits PDE, PDS and IDLE, IDLS located in SFR PCON select the power
down mode or the idle mode, respectively. If the power down mode and the idle mode are set at the
same time, power down takes precedence. Furthermore, register PCON contains two general
purpose flags. For example, the flag bits GF0 and GF1 can be used to give an indication if an
interrupt occurred during normal operation or during an idle. For this, an instruction that activates
idle can also set one or both flag bits. When idle is terminated by an interrupt, the interrupt service
routine can examine the flag bits.
Special Function Register PCON (Address 87 H)
Symbol
PDS
IDLS
SD
GF1
GF0
PDE
IDLE
Note: The PDS bit, which controls the software power down mode is forced to logic low whenever
Semiconductor Group
Bit No.
87 H
the external PE/SWD pin is held at logic high level. Changing the logic level of the PE/SWD
pin from high to low will irregularly terminate the software power down mode and is not
permitted.
Power Saving Mode Control Register
MSB
SMOD
7
The function of the shaded bit is not described in this section.
Function
Power down start bit
The instruction that sets the PDS flag bit is the last instruction before entering
the power down mode
Idle start bit
The instruction that sets the IDLS flag bit is the last instruction before entering
the idle mode.
Slow down mode bit
When set, the slow down mode is enabled. This function is available in the
C515-LM/1RM versions only.
General purpose flag
General purpose flag
Power down enable bit
When set, starting of the power down is enabled
Idle mode enable bit
When set, starting of the idle mode is enabled
PDS
6
IDLS
5
SD
4
9-2
GF1
3
GF0
2
PDE
Power Saving Modes
1
IDLE
Reset Value : 00 H
0
LSB
PCON
C515

Related parts for SAH-C515