T113芯片使用ADC采集电压 采集到值都是不变的
-
我设置的gpadc的参数是如下 就是去读取时候值都是一样的
&gpadc {
channel num = <1>;
channel select =<0x01>;
channel data select = <1>;
//channel compare select = <0x00>;
//channel cld select = <0x01>;
//channel chd select = <1>;
//channelo compare lowdata =<1600000>;
//channelo compare higdata =<1200000>;
//channel1 compare lowdata = <460000>;
//channel1 compare higdata = <1200000>;
status = "okay";
}
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号