diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-10-01 08:04:14 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-10-01 08:04:14 +0000 |
commit | 2950a0a7b8316a742a7a67b5acb4f224a98397ff (patch) | |
tree | f3c81f2ad4202021f05d419d44f3876d9be01950 /os/hal/platforms/STM32F1xx/stm32_rcc.h | |
parent | d2fa0e3fdee679a6cdd5dd6616aca527eca3f080 (diff) | |
download | ChibiOS-2950a0a7b8316a742a7a67b5acb4f224a98397ff.tar.gz ChibiOS-2950a0a7b8316a742a7a67b5acb4f224a98397ff.tar.bz2 ChibiOS-2950a0a7b8316a742a7a67b5acb4f224a98397ff.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3413 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32F1xx/stm32_rcc.h')
-rw-r--r-- | os/hal/platforms/STM32F1xx/stm32_rcc.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/os/hal/platforms/STM32F1xx/stm32_rcc.h b/os/hal/platforms/STM32F1xx/stm32_rcc.h index 9ca1140e9..0f19f7b07 100644 --- a/os/hal/platforms/STM32F1xx/stm32_rcc.h +++ b/os/hal/platforms/STM32F1xx/stm32_rcc.h @@ -214,8 +214,8 @@ *
* @api
*/
-#define rccEnableBKPInterface(lp) \
- rccEnableAPB1((RCC_APB1ENR_BKPEN | RCC_APB1ENR_PWREN), lp);
+#define rccEnableBKPInterface(lp) \
+ rccEnableAPB1((RCC_APB1ENR_BKPEN | RCC_APB1ENR_PWREN), lp)
/**
* @brief Disables BKP interface clock.
@@ -225,22 +225,22 @@ *
* @api
*/
-#define rccDisableBKPInterface(lp) \
- rccDisableAPB1((RCC_APB1ENR_BKPEN | RCC_APB1ENR_PWREN), lp);
+#define rccDisableBKPInterface(lp) \
+ rccDisableAPB1((RCC_APB1ENR_BKPEN | RCC_APB1ENR_PWREN), lp)
/**
* @brief Resets the Backup Domain interface.
*
* @api
*/
-#define rccResetBKPInterface() rccResetAPB1(RCC_APB1ENR_BKPRST);
+#define rccResetBKPInterface() rccResetAPB1(RCC_APB1ENR_BKPRST)
/**
* @brief Resets the entire Backup Domain.
*
* @api
*/
-#define rccResetBKP() (RCC->BDCR |= RCC_BDCR_BDRST);
+#define rccResetBKP() (RCC->BDCR |= RCC_BDCR_BDRST)
/** @} */
/**
|