RV1126-JD4配套的主板,recover键对应的管脚是哪个
我想在应用层检测这个按键,执行一些操作。
在rv1126的datasheet中没有RESET_KEY这个管脚
看代码就知道了,
adc_keys: adc-keys {
status = "okay";
compatible = "adc-keys";
io-channels = <&saradc 0>; ## 对应的是 saradc 0 这个脚
io-channel-names = "buttons";
poll-interval = <100>;
keyup-threshold-microvolt = <1800000>;
recovery {
label = "recovery down";
linux,code = <KEY_KP9>;
press-threshold-microvolt = <300000>;
};
};
页:
[1]