This function handles NMI exception.
This function handles Hard Fault exception.
This function handles Debug Monitor exception.
This function handles Memory Manage exception.
This function handles Bus Fault exception.
This function handles Usage Fault exception.
This function handles SysTick Handler.
This function handles SVCall exception.
This function handles PendSVC exception.
This function is executed in case of error occurrence.
This function handles external line 15_10 interrupt request.
This function handles RTC Auto wake-up interrupt request.
This function configures the system to enter Sleep mode for current consumption measurement purpose. Sleep Mode ========== - System Running at PLL (180MHz) - Flash 3 wait state - Instruction and Data caches ON - Prefetch ON - Code running from Internal FLASH - All peripherals disabled. - Wakeup using EXTI Line (Key Button)
This function configures the system to enter Standby mode for current consumption measurement purpose. STANDBY Mode ============ - Backup SRAM and RTC OFF - IWDG and LSI OFF - Wakeup using WakeUp Pin (PA.00)
This function configures the system to enter Standby mode with RTC clocked by LSE or LSI for current consumption measurement purpose. STANDBY Mode with RTC clocked by LSE/LSI ======================================== - RTC Clocked by LSE/LSI - IWDG OFF - Backup SRAM OFF - Automatic Wakeup using RTC clocked by LSE/LSI (after ~20s)
This function configures the system to enter Stop mode with RTC clocked by LSE or LSI for current consumption measurement purpose. STOP Mode with RTC clocked by LSE/LSI ===================================== - RTC Clocked by LSE or LSI - Regulator in LP mode - HSI, HSE OFF and LSI OFF if not used as RTC Clock source - No IWDG - FLASH in deep power down mode - Automatic Wakeup using RTC clocked by LSE/LSI (~20s)
This function configures the system to enter Standby mode with RTC clocked by LSE or LSI and with Backup SRAM ON for current consumption measurement purpose. STANDBY Mode with RTC clocked by LSE/LSI and BKPSRAM ==================================================== - RTC Clocked by LSE or LSI - Backup SRAM ON - IWDG OFF - Automatic Wakeup using RTC clocked by LSE/LSI (after ~20s)
This function configures the system to enter Under-Drive stop mode with RTC clocked by LSE or LSI for current consumption measurement purpose. STOP Mode with RTC clocked by LSE/LSI ===================================== - RTC Clocked by LSE or LSI - Regulator in LP mode - Under drive feature enabled - HSI, HSE OFF and LSI OFF if not used as RTC Clock source - No IWDG - FLASH in deep power down mode - Automatic Wakeup using RTC clocked by LSE/LSI (~20s)
Configures system clock after wake-up from STOP: enable HSI, PLL and select PLL as system clock source.
System Clock Configuration The system Clock is configured as follows: System Clock source = PLL (HSE) SYSCLK(Hz) = 180000000 HCLK(Hz) = 180000000 AHB Prescaler = 1 APB1 Prescaler = 4 APB2 Prescaler = 2 HSE Frequency(Hz) = 8000000 PLL_M = 8 PLL_N = 360 PLL_P = 2 PLL_Q = 7 PLL_R = 2 VDD(V) = 3.3 Main regulator output voltage = Scale1 mode Flash Latency(WS) = 5