distortos  v0.7.0
object-oriented C++ RTOS for microcontrollers
STM32F4-PWR.hpp File Reference

Header for PWR-related functions for STM32F4. More...

#include "distortos/distortosConfiguration.h"
#include <cstdint>
Include dependency graph for STM32F4-PWR.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 distortos
 Top-level namespace of distortos project.
 
 distortos::chip
 Chip-related code of distortos project.
 

Functions

int distortos::chip::configureVoltageScaling (uint8_t voltageScale)
 Configures voltage scaling. More...
 

Variables

constexpr uint8_t distortos::chip::minVoltageScale {1}
 minimum allowed value of voltage scale mode More...
 
constexpr uint8_t distortos::chip::maxVoltageScale {2}
 maximum allowed value of voltage scale mode More...
 
constexpr uint8_t distortos::chip::defaultVoltageScale {1}
 default voltage scale mode after reset More...
 

Detailed Description

Header for PWR-related functions for STM32F4.

Author
Copyright (C) 2015-2019 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
License
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.