aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32F4xx/adc_lld.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/platforms/STM32F4xx/adc_lld.h')
-rw-r--r--os/hal/platforms/STM32F4xx/adc_lld.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/os/hal/platforms/STM32F4xx/adc_lld.h b/os/hal/platforms/STM32F4xx/adc_lld.h
index ad70d3e03..21723bd70 100644
--- a/os/hal/platforms/STM32F4xx/adc_lld.h
+++ b/os/hal/platforms/STM32F4xx/adc_lld.h
@@ -46,11 +46,8 @@
/**
* @brief Maximum HSE clock frequency.
- * @note This value is arbitrary defined, the current datasheet does not
- * define a maximum value (it is TBD). A value of 36MHz is mentioned
- * but without relationship to VDD ranges.
*/
-#define STM32_ADCCLK_MAX 42000000
+#define STM32_ADCCLK_MAX 36000000
/** @} */
/**
@@ -123,9 +120,9 @@
/**
* @brief ADC common clock divider.
* @note This setting is influenced by the VDDA voltage and other
- * external conditions, please refer to the STM32L15x datasheet
+ * external conditions, please refer to the STM32F4xx datasheet
* for more info.<br>
- * See section 6.3.15 "12-bit ADC characteristics".
+ * See section 5.3.20 "12-bit ADC characteristics".
*/
#if !defined(STM32_ADC_ADCPRE) || defined(__DOXYGEN__)
#define STM32_ADC_ADCPRE ADC_CCR_ADCPRE_DIV2