发布网友 发布时间:2022-04-20 07:22
共3个回答
热心网友 时间:2024-02-22 19:47
STM8S103没有ADC2,只有ADC1,见stm8s_conf.h中的定义:
#if defined(STM8S105) || defined(STM8S005) || defined(STM8S103) || defined(STM8S003) ||\
defined(STM8S903) || defined (STM8AF626x) || defined (STM8AF622x)
#include "stm8s_adc1.h"
#endif /* (STM8S105) ||(STM8S103) || (STM8S903) || (STM8AF626x) || (STM8AF622x) */
#if defined(STM8S208) || defined(STM8S207) || defined(STM8S007) || defined (STM8AF52Ax) ||\
defined (STM8AF62Ax)
#include "stm8s_adc2.h"
#endif /* (STM8S208) || (STM8S207) || (STM8AF62Ax) || (STM8AF52Ax) */
仅仅说STM8S的ADC1与ADC2的差异,那就是ADC1功能更强大,具体见参考资料
热心网友 时间:2024-02-22 19:48
adc1就是比adc2多了一些扩展功能,,这个在参考手册里都有说明的。
热心网友 时间:2024-02-22 19:48
敌我adc?