View: 6393|Reply: 1

[BLE SDK] 可以同时开启多个唤醒源吗?

[Copy link]

15

Threads

12

Replies

133

Credits

Credits
133
Posted on 2024-11-15 17:24:10 | Show all posts |Reading mode From 广东汕头
Information
Notes:   建议参照本版块置顶帖内容输入必要信息
Chip model: 8258
SDK & version: B85m_BLE_Single_Connection_SDK_v3.4.2.4
您好,我用8258开发板,B85m_BLE_Single_Connection_SDK_v3.4.2.4 , 使用的是b85m_module 工程代码。


请问,能同时用如下函数开启多个GPIO口唤醒源吗?


        cpu_set_gpio_wakeup (GPIO_WAKEUP_MODULE, Level_High, 1);  // pad high wakeup deepsleep



        cpu_set_gpio_wakeup (GPIO_PB5, Level_High, 1);  // 开启第2个GPIO口唤醒功能


        cpu_set_gpio_wakeup (GPIO_PB6, Level_High, 1);  // 开启第3个GPIO口唤醒功能

image.png

145

Threads

343

Replies

1624

Credits

Credits
1624
Posted on 2024-11-18 18:41:50 | Show all posts From 上海
可以

Credit rules for this forum

inThis forumPostBack to top