Learn MoreFAQsTutorials

5 posts / 0 new
Last post
ren0zhe
Offline
Last seen:2 weeks 3 days ago
加入:2016-05-05 05:13
Multiple buttons demo

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:
PM_Dialog
Offline
Last seen:25分29秒前
Staff
加入:2018-02-08 11:03
嗨ren0zhe,

嗨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

ren0zhe
Offline
Last seen:2 weeks 3 days ago
加入:2016-05-05 05:13
Can four keys is configured

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.

ren0zhe
Offline
Last seen:2 weeks 3 days ago
加入:2016-05-05 05:13
你好,如何check two keys

你好,如何check two keys pressed at the same time. I have tried several ways, but they can't work. What should I do?

PM_Dialog
Offline
Last seen:25分29秒前
Staff
加入:2018-02-08 11:03
嗨ren0zhe,

嗨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