⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
5 posts / 0 new
Last post
ren0zhe
Offline
Last seen:1 week 6 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:10 hours 55 min ago
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:1 week 6 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:1 week 6 days ago
加入:2016-05-05 05:13
Hi, How to check two keys

你好,总统如何检查两个键sed at the same time. I have tried several ways, but they can't work. What should I do?

PM_Dialog
Offline
Last seen:10 hours 55 min ago
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