libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
#include <libopencm3/stm32/common/pwr_common_v1.h>
Go to the source code of this file.
Macros | |
#define | PWR_CR_VOS_SHIFT 14 |
VOS: Regulator voltage scaling output selection. More... | |
#define | PWR_CR_VOS_MASK 0x3 |
#define | PWR_CR_ADCDC1 (1 << 13) |
ADCDC1: Masks extra flash accesses by prefetch (see AN4073) More... | |
#define | PWR_CR_MRLVDS (1 << 11) |
MRLVDS/MRUDS: Main regulator Low Voltage / Under drive in Deep Sleep. More... | |
#define | PWR_CR_MRUDS PWR_CR_MRLVDS |
#define | PWR_CR_LPLVDS (1 << 10) |
LPLVDS/LPUDS: Low-power regulator Low Voltage / Under drive in Deep Sleep. More... | |
#define | PWR_CR_LPUDS PWR_CR_LPLVDS |
#define | PWR_CR_FPDS (1 << 9) |
FPDS: Flash power down in stop mode. More... | |
#define | PWR_CSR_VOSRDY (1 << 14) |
VOSRDY: Regulator voltage scaling output selection ready bit. More... | |
#define | PWR_CSR_BRE (1 << 9) |
BRE: Backup regulator enable. More... | |
#define | PWR_CSR_BRR (1 << 3) |
BRR: Backup regulator ready. More... | |
Enumerations | |
enum | pwr_vos_scale { PWR_SCALE1 = 0x3 , PWR_SCALE2 = 0x2 , PWR_SCALE3 = 0x1 } |
Functions | |
void | pwr_set_vos_scale (enum pwr_vos_scale scale) |