doc: stm32l power: properly include and document
Was missing group markers.
This commit is contained in:
committed by
Karl Palsson
parent
3cc6ecd203
commit
34c3a64177
@@ -77,9 +77,14 @@
|
|||||||
|
|
||||||
/* --- Function prototypes ------------------------------------------------- */
|
/* --- Function prototypes ------------------------------------------------- */
|
||||||
|
|
||||||
|
/** Voltage scales for internal regulator
|
||||||
|
*/
|
||||||
enum pwr_vos_scale {
|
enum pwr_vos_scale {
|
||||||
|
/** high performance, highest voltage */
|
||||||
PWR_SCALE1,
|
PWR_SCALE1,
|
||||||
|
/** medium performance, flash operational but slow */
|
||||||
PWR_SCALE2,
|
PWR_SCALE2,
|
||||||
|
/** low performance, no flash erase/program */
|
||||||
PWR_SCALE3,
|
PWR_SCALE3,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -20,6 +20,7 @@
|
|||||||
* You should have received a copy of the GNU Lesser General Public License
|
* 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/>.
|
* along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
/**@{*/
|
||||||
|
|
||||||
#include <libopencm3/stm32/pwr.h>
|
#include <libopencm3/stm32/pwr.h>
|
||||||
#include <libopencm3/stm32/rcc.h>
|
#include <libopencm3/stm32/rcc.h>
|
||||||
@@ -43,3 +44,4 @@ void pwr_set_vos_scale(enum pwr_vos_scale scale)
|
|||||||
PWR_CR = reg;
|
PWR_CR = reg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**@}*/
|
||||||
Reference in New Issue
Block a user