hello,Community
Can the status of the button connected to the ONOFF pin be read with a register?
best regards
Goto
hello,Community
Sorry, the information is missing
The target device is i.MX7d.
Can the status of the button connected to the ONOFF pin be read with a register?
best regards
Goto
Hello Goto,
My apologies. Allow me to investigate what would be the register that allows you to read the status of the ONOFF button on the i.MX7. I will let you know when I have more information.
Regards,
Hello Goto,
My apologies for the delay.
If you want to check that the ONOFF button is pressed or not you can read BTN bit of SNVS.HPSR register. and if you want count of button pressed then you can check it through $cat /proc/interrupts
If you need more details on this register and the SNVS module please consult the i.MX7D Security Reference Manual, which is distributed under an NDA.
I hope this helps!
Regards,
Hello Goto,
Are you using the i.MX6? If that’s the case the following thread may help. If not, please let me know which processor you are using.
https://community.nxp.com/message/333554?commentID=333554#comment-333554
Regards.