Browse Source

doc: stm32l power: properly include and document

Was missing group markers.
pull/689/merge
Karl Palsson 8 years ago
committed by Karl Palsson
parent
commit
34c3a64177
  1. 5
      include/libopencm3/stm32/common/pwr_common_l01.h
  2. 2
      lib/stm32/common/pwr_common_l01.c

5
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,
};

2
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 <http://www.gnu.org/licenses/>.
*/
/**@{*/
#include <libopencm3/stm32/pwr.h>
#include <libopencm3/stm32/rcc.h>
@ -43,3 +44,4 @@ void pwr_set_vos_scale(enum pwr_vos_scale scale)
PWR_CR = reg;
}
/**@}*/
Loading…
Cancel
Save