mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-11-09 20:45:41 +08:00
[stm32][adc]更改配置通道与校准函数顺序 (#6758)
* [stm32][adc]更改配置通道与校准函数顺序 * 添加16位与14位分辨率配置 * 添加内部参考电压与温度,电池电压通道配置 * [stm32][adc]修改返回参考电压函数 * 返回准确的参考电压值 * 通过该值在使用__HAL_ADC_CALC_DATA_TO_VOLTAGE宏计算的电压值更为准确 * 删除多余代码 * 规划代码格式 * 更新支持其余芯片 * 已测试F429
This commit is contained in:
1 parent
8abaf17772
commit
431579a166
1 file changed
+144
-103