GlobLib
HAL and API libraries for MCUs and hardware.
stm32f103cb_power.h
Go to the documentation of this file.
1 #ifndef STM32F103CB_POWER_H_
2 #define STM32F103CB_POWER_H_
3 
66 #include "stm32f103cb_gpio.h"
67 #include "stm32f103cb_debug.h"
68 #include "stm32f103cb_clock.h"
69 #include "stm32f103cb_usb.h"
70 #include <libopencm3/stm32/f1/pwr.h>
71 #include <libopencm3/cm3/nvic.h>
72 #include <libopencm3/cm3/scb.h>
73 #include <libopencm3/stm32/f1/bkp.h>
74 #include <libopencmsis/core_cm3.h>
75 #include <stdint.h>
76 
77 
81 void POWER_reset(void);
87 void POWER_sleep(void);
92 void POWER_noSleep(void);
98 void POWER_standby(void);
105 uint8_t POWER_fromStandby(void);
111 void POWER_stop(void);
116 uint8_t POWER_fromStop(void);
117 
120 #endif
Header file for stm32f103cb DEBUG.
Header file for stm32f103 GPIO.
void POWER_noSleep(void)
Disable sleep mode.
uint8_t POWER_fromStandby(void)
Check if the system is restarting from standby mode.
void POWER_standby(void)
Put the device into standby mode.
void POWER_reset(void)
Resets the system.
Header file for stm32f103 CLOCK.
uint8_t POWER_fromStop(void)
Check if MCU was in stop mode and reset flags.
void POWER_stop(void)
Put the device into stop mode.
void POWER_sleep(void)
Put the system in sleep mode.
Header file for stm32f103cb USB.