Hi,Excuse me, esp_err_t esp_pm_lock_create(esp_pm_lock_type_t lock_type, int arg, const char *name, esp_pm_lock_handle_t *out_handle)
How second parameters are valued?
ESP-IDF Programming Guide: lock_type: Power management constraint which the lock should control
arg: argument, value depends on lock_type, see esp_pm_lock_type_t
I didn't find the answer in esp_pm_lock_type_t.
Can you tell me?
Thank you very much!
Excuse me How to use esp_err_t esp_pm_lock_create (...)
-
- Posts: 11
- Joined: Tue Mar 20, 2018 7:36 am
Re: Excuse me How to use esp_err_t esp_pm_lock_create (...)
For all the currently defined lock types (CPU_MAX, APB_MAX) this value is not used and can be set to 0.
Who is online
Users browsing this forum: No registered users and 118 guests