API  2.2
TSmarT Software Library
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Functions

Functions

void TSMART_Stop (void)
 Stop mode. More...
 
void TSMART_Standby (void)
 Standby mode. More...
 

Detailed Description

Function Documentation

void TSMART_Standby ( void  )

Standby mode.

The Standby mode allows to achieve the lowest power consumption. It is based on the Cortex-M3 deepsleep mode, with the voltage regulator disabled. The 1.8 V domain is consequently powered off. The PLL, the HSI oscillator and the HSE oscillator are also switched off. SRAM and register contents are lost except for registers

The microcontroller exits the Standby mode when an external reset (NRST pin), an IWDG reset, a rising edge on the WKUP pin or the rising edge of an RTC alarm occurs After waking up from Standby mode, program execution restarts in the same way as after a Reset

Examples:
pwr.c.
void TSMART_Stop ( void  )

Stop mode.

The Stop mode is based on the Cortex-M3 deepsleep mode combined with peripheral clock gating. The voltage regulator can be configured either in normal or low-power mode. In Stop mode, all clocks in the 1.8 V domain are stopped, the PLL, the HSI and the HSE RC oscillators are disabled. SRAM and register contents are preserved. In the Stop mode, all I/O pins keep the same state as in the Run mode.

The microcontroller exits the Standby mode when any EXTI Line configured in Interrupt mode is enabled

Examples:
pwr.c.