semf
|
app::Power
implementation for STM32.
More...
#include <stm32power.h>
Public Member Functions | |
Stm32Power ()=default | |
Stm32Power (const Stm32Power &other)=delete | |
virtual | ~Stm32Power ()=default |
void | reset () override |
void | standby () override |
Switches microcontroller directly into standby mode. More... | |
void | sleep () override |
Switches microcontroller directly into sleep mode. More... | |
void | stop () override |
Switches microcontroller directly into stop mode. More... | |
Public Member Functions inherited from semf::app::Power | |
virtual | ~Power ()=default |
virtual void | reset ()=0 |
virtual void | standby ()=0 |
Switches microcontroller directly into standby mode. More... | |
virtual void | sleep ()=0 |
Switches microcontroller directly into sleep mode. More... | |
virtual void | stop ()=0 |
Switches microcontroller directly into stop mode. More... | |
app::Power
implementation for STM32.
Definition at line 22 of file stm32power.h.
|
default |
|
explicitdelete |
|
virtualdefault |
|
overridevirtual |
Executes a software reset on the microcontroller.
Implements semf::app::Power.
Definition at line 16 of file stm32power.cpp.
|
overridevirtual |
Switches microcontroller directly into sleep mode.
standby
. Implements semf::app::Power.
Definition at line 28 of file stm32power.cpp.
|
overridevirtual |
Switches microcontroller directly into standby mode.
sleep
. Implements semf::app::Power.
Definition at line 22 of file stm32power.cpp.
|
overridevirtual |
Switches microcontroller directly into stop mode.
Implements semf::app::Power.
Definition at line 34 of file stm32power.cpp.