diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-12-29 17:33:15 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-12-29 17:33:15 +0000 |
commit | 594032585a8c7cac0a9aab43a2fae7208c4315f1 (patch) | |
tree | 4cabdf1477d2607359dbfa6cd2036a14f6cd97c2 /os/hal/ports/STM32/STM32H7xx | |
parent | d9a9844f8e43b725f3bbe53f1d97e6435065adcc (diff) | |
download | ChibiOS-594032585a8c7cac0a9aab43a2fae7208c4315f1.tar.gz ChibiOS-594032585a8c7cac0a9aab43a2fae7208c4315f1.tar.bz2 ChibiOS-594032585a8c7cac0a9aab43a2fae7208c4315f1.zip |
Some progress on H7 ADC, not finished.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12492 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/hal/ports/STM32/STM32H7xx')
-rw-r--r-- | os/hal/ports/STM32/STM32H7xx/stm32_rcc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/ports/STM32/STM32H7xx/stm32_rcc.h b/os/hal/ports/STM32/STM32H7xx/stm32_rcc.h index d5a1c6de7..12eb76574 100644 --- a/os/hal/ports/STM32/STM32H7xx/stm32_rcc.h +++ b/os/hal/ports/STM32/STM32H7xx/stm32_rcc.h @@ -472,21 +472,21 @@ *
* @api
*/
-#define rccEnableADC3(lp) rccEnableAPB2(RCC_APB2ENR_ADC3EN, lp)
+#define rccEnableADC3(lp) rccEnableAHB4(RCC_AHB4ENR_ADC3EN, lp)
/**
* @brief Disables the ADC3 peripheral clock.
*
* @api
*/
-#define rccDisableADC3() rccDisableAPB2(RCC_APB2ENR_ADC3EN)
+#define rccDisableADC3() rccDisableAHB4(RCC_AHB4ENR_ADC3EN)
/**
* @brief Resets the ADC3 peripheral.
*
* @api
*/
-#define rccResetADC3() rccResetAPB2(RCC_APB2RSTR_ADC3RST)
+#define rccResetADC3() rccResetAHB4(RCC_AHB4RSTR_ADC3RST)
/** @} */
/**
|