diff --git a/include/libopencm3/stm32/common/pwr_common_l01.h b/include/libopencm3/stm32/common/pwr_common_l01.h
index 9f555226..ee10e268 100644
--- a/include/libopencm3/stm32/common/pwr_common_l01.h
+++ b/include/libopencm3/stm32/common/pwr_common_l01.h
@@ -77,9 +77,14 @@
/* --- Function prototypes ------------------------------------------------- */
+/** Voltage scales for internal regulator
+ */
enum pwr_vos_scale {
+ /** high performance, highest voltage */
PWR_SCALE1,
+ /** medium performance, flash operational but slow */
PWR_SCALE2,
+ /** low performance, no flash erase/program */
PWR_SCALE3,
};
diff --git a/lib/stm32/common/pwr_common_l01.c b/lib/stm32/common/pwr_common_l01.c
index 68204744..650dc78b 100644
--- a/lib/stm32/common/pwr_common_l01.c
+++ b/lib/stm32/common/pwr_common_l01.c
@@ -20,6 +20,7 @@
* You should have received a copy of the GNU Lesser General Public License
* along with this library. If not, see .
*/
+/**@{*/
#include
#include
@@ -43,3 +44,4 @@ void pwr_set_vos_scale(enum pwr_vos_scale scale)
PWR_CR = reg;
}
+/**@}*/
\ No newline at end of file