I-mx8Mini power button switch problem, similar to mobile phone power button, how to achieve?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

I-mx8Mini power button switch problem, similar to mobile phone power button, how to achieve?

1,126 次查看
Only_聆听
Contributor II

尊重恩智浦技术工程:

我目前正在使用带有PMIC PCA9450A的i-MX8 MINI。我想使用触摸按钮来实现像手机一样的电源按钮功能,例如长按启动,长按关闭,短按唤醒等功能。

      我查找了PCA9450规格,我发现PMIC_RST_B可以通过设置其复位衰减时间来注册T_PMIC_RST_DEB,从而长时间按下唤醒。

但现在我有一个问题。假设我将电源键连接到PMIC_RST_B,I-MX8如何识别长按键以实现弹出提示关闭电源或选择重启

我想从你那里得到一些建议,谢谢

@BiyongSUN 

标记 (2)
0 项奖励
0 回复数