We have four buttons in total. One button wakes up, and the other three buttons do not need to be waked up. After waking up, they perform different functions.
wake up button can config "KEY_WKUP_GPIO_IRQn", How to config the interrupt of common button? GPIO_P0_IRQn? Where can I find relevant examples or documents?
Thanks.
Device:
嗨ren0zhe,
I would suggest first checking theDA1469x Tutorial External Interruptiontutorial. Please go through this and let me know if you need further clarifications.
Thanks, PM_Dialog
Can four keys is configured to "hw_wkup_register_key_interrupt".
I want all four buttons to be detected pressed and released.But , now I can complete one key to check the press and relesse(coonfigure to hw_wkup_register_key_interrupt).
Other keys is config to "hw_wkup_register_gpio_p0_interrupt",I only check the press use the “hw_wkup_get_status()”,what can I do ,to checkthe press and relesse?
thinks.
你好,如何check two keys pressed at the same time. I have tried several ways, but they can't work. What should I do?
嗨ren0zhe,
Apologies for my late response. So, if I understood correctly, you want to wake up through multiple buttons? No matter which button is presses, but the chip can wake up from all of them.
Thanks, PM_Dialog