From b874da24f2fde53d4e212b3877648187d89577a0 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Fri, 11 Nov 2011 21:44:11 +0100 Subject: stm32/f4/pwr.h: Document reserved bits. --- include/libopencm3/stm32/f4/pwr.h | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'include/libopencm3/stm32/f4/pwr.h') diff --git a/include/libopencm3/stm32/f4/pwr.h b/include/libopencm3/stm32/f4/pwr.h index 66cfc10..aa75a94 100644 --- a/include/libopencm3/stm32/f4/pwr.h +++ b/include/libopencm3/stm32/f4/pwr.h @@ -23,33 +23,44 @@ #include /* - * This file extends the version in stm_common with definitions only + * This file extends the common STM32 version with definitions only * applicable to the STM32F4 series of devices. */ /* --- PWR_CR values ------------------------------------------------------- */ +/* Bits [31:15]: Reserved */ + /* VOS: Regulator voltage scaling output selection */ #define PWR_CR_VOS (1 << 14) -/* FPDS: Flash power down in stop mode, only available in F2 family devices. */ +/* Bits [13:10]: Reserved */ + +/* FPDS: Flash power down in stop mode */ #define PWR_CR_FPDS (1 << 9) /* --- PWR_CSR values ------------------------------------------------------ */ -/* VOSRDY: Regulator voltage scaling output selection ready */ +/* Bits [31:15]: Reserved */ + +/* VOSRDY: Regulator voltage scaling output selection ready bit */ #define PWR_CSR_VOSRDY (1 << 14) +/* Bits [13:10]: Reserved */ + /* BRE: Backup regulator enable */ #define PWR_CSR_BRE (1 << 9) +/* Bits [7:4]: Reserved */ + /* BRR: Backup regulator ready */ #define PWR_CSR_BRR (1 << 3) /* --- Function prototypes ------------------------------------------------- */ typedef enum { - SCALE1, SCALE2 + SCALE1, + SCALE2, } vos_scale_t; void pwr_set_vos_scale(vos_scale_t scale); -- cgit v1.2.3