From 25b1e4aad96a5b9f735ca5097812ed6ccfe6859d Mon Sep 17 00:00:00 2001 From: mikisama <41532794+mikisama@users.noreply.github.com> Date: Tue, 7 Dec 2021 09:41:16 +0800 Subject: [PATCH] stm32: fix typo --- lib/stm32/common/rcc_common_all.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/stm32/common/rcc_common_all.c b/lib/stm32/common/rcc_common_all.c index 4cbe0a81..91c8b41b 100644 --- a/lib/stm32/common/rcc_common_all.c +++ b/lib/stm32/common/rcc_common_all.c @@ -38,7 +38,7 @@ * (either RCC_AHBENR, RCC_APB1ENR or RCC_APB2ENR) * * @param[in] en Unsigned int32. Logical OR of all enables to be set - * @li If register is RCC_AHBER, from @ref rcc_ahbenr_en + * @li If register is RCC_AHBENR, from @ref rcc_ahbenr_en * @li If register is RCC_APB1ENR, from @ref rcc_apb1enr_en * @li If register is RCC_APB2ENR, from @ref rcc_apb2enr_en */ @@ -51,7 +51,7 @@ void rcc_peripheral_enable_clock(volatile uint32_t *reg, uint32_t en) /*---------------------------------------------------------------------------*/ /** @brief RCC Disable Peripheral Clocks. * - * Enable the clock on particular peripherals. There are three registers + * Disable the clock on particular peripherals. There are three registers * involved, each one controlling the enabling of clocks associated with * the AHB, APB1 and APB2 respectively. Several peripherals could be disabled * simultaneously only if they are controlled by the same register. @@ -62,7 +62,7 @@ void rcc_peripheral_enable_clock(volatile uint32_t *reg, uint32_t en) * (either RCC_AHBENR, RCC_APB1ENR or RCC_APB2ENR) * @param[in] en Unsigned int32. Logical OR of all enables to be used for * disabling. - * @li If register is RCC_AHBER, from @ref rcc_ahbenr_en + * @li If register is RCC_AHBENR, from @ref rcc_ahbenr_en * @li If register is RCC_APB1ENR, from @ref rcc_apb1enr_en * @li If register is RCC_APB2ENR, from @ref rcc_apb2enr_en */