User button as a wake up source in IMX8ULP EVK9

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

User button as a wake up source in IMX8ULP EVK9

420 次查看
dhruvinrajpura
Contributor III

Hello,

I'm using the IMX8ULP EVK9 board, which has two push buttons: SW2 and SW4, connected to pins PTE17 and PTF26. I want to set up these buttons as wake-up sources so that when the A core is in sleep mode, pressing either button will wake it up, and I will also receive an event in my code.

What changes do I need to make in the Device Tree (DTS) file, and how can I capture the event in my C code?

标签 (1)
0 项奖励
回复
0 回复数