lv_async.h
API reference for lv_async.h
Summary
Functions
misc/lv_async.h:44function
lv_async_call
Call an asynchronous function the next time lv_timer_handler() is run. This function is likely to return before the call actually happens!
lv_result_t lv_async_call(lv_async_cb_t async_xcb, void *user_data)| Name | Type | Description |
|---|---|---|
async_xcb | lv_async_cb_t | a callback which is the task itself. (the 'x' in the argument name indicates that it's not a fully generic function because it not follows the func_name(object, callback, ...) convention) |
user_data | void * | custom parameter |
misc/lv_async.h:51function
lv_async_call_cancel
Cancel an asynchronous function call
lv_result_t lv_async_call_cancel(lv_async_cb_t async_xcb, void *user_data)| Name | Type | Description |
|---|---|---|
async_xcb | lv_async_cb_t | a callback which is the task itself. |
user_data | void * | custom parameter |
Typedefs
misc/lv_async.h:30typedef
lv_async_cb_t
typedef void(* lv_async_cb_t) (void *)Type for async callback.
Used by 2 functions
lv_async_call— paramasync_xcblv_async_call_cancel— paramasync_xcb
Dependencies
Indirect dependencies
How is this guide?
Last updated on