/lvgl-latest/src/osal/ |
D | lv_windows.c | 25 void (*callback)(void *); member 51 void (*callback)(void *), in lv_thread_init() 74 init_data->callback = callback; in lv_thread_init() 217 init_data->callback(init_data->user_data); in thread_start_routine()
|
D | lv_pthread.c | 42 void (*callback)(void *), size_t stack_size, in lv_thread_init() 50 thread->callback = callback; in lv_thread_init() 177 thread->callback(thread->user_data); in generic_callback()
|
D | lv_sdl2.c | 42 void (*callback)(void *), size_t stack_size, void * user_data) in lv_thread_init() 45 thread->callback = callback; in lv_thread_init() 179 thread->callback(thread->user_data); in generic_callback()
|
D | lv_os.h | 81 lv_thread_prio_t prio, void (*callback)(void *), size_t stack_size, 193 … void (*callback)(void *), size_t stack_size, void * user_data) in lv_thread_init() 197 LV_UNUSED(callback); in lv_thread_init()
|
D | lv_sdl2.h | 29 void (*callback)(void *); member
|
D | lv_pthread.h | 31 void (*callback)(void *); member
|
D | lv_rtthread.c | 42 void (*callback)(void *), size_t stack_size, in lv_thread_init() 46 callback, in lv_thread_init()
|
D | lv_cmsis_rtos2.c | 46 void (*callback)(void *), size_t stack_size, in lv_thread_init() 63 *thread = osThreadNew(callback, user_data, &c_tThreadAttribute); in lv_thread_init()
|
D | lv_mqx.c | 41 void (*callback)(void *), size_t stack_size, in lv_thread_init() 48 task_template.TASK_ADDRESS = (TASK_FPTR)callback; in lv_thread_init()
|
/lvgl-latest/docs/details/integration/bindings/ |
D | micropython.rst | 241 In C a callback is just a function pointer. But in MicroPython we need to register a *MicroPython c… 242 callback. Therefore in the MicroPython binding we need to register both a function pointer and a Mi… 244 Therefore we defined a **callback convention** for the LVGL C API that expects lvgl headers to be d… 246 next to the function pointer when registering a callback, and access that object when the callback … 249 …to save the *MicroPython callable object* for a callback. This field must be provided when registe… 250 pointer, and provided to the callback function itself. 252 …matically keep track of the MicroPython callable object. The glue code updates it when the callback 253 …is registered, and uses it when the callback is called in order to invoke a call to the original c… 256 There are a few options for defining a callback in LVGL C API: 262 …- A pointer to that struct is provided as the **first** argument of a callback registration functi… [all …]
|
/lvgl-latest/env_support/cmsis-pack/ |
D | lv_os_custom_c.txt | 39 …read_t * thread, const char * const name, lv_thread_prio_t prio, void (*callback)(void *), size_t … 44 LV_UNUSED(callback);
|
/lvgl-latest/docs/details/base-widget/ |
D | event.rst | 25 The user can assign callback functions to a widget to process events. 31 …v_obj_add_event_cb(btn, my_event_cb, LV_EVENT_CLICKED, user_data); /* Assign an event callback */ 47 pointer passed when setting the callback function like this: 63 Even the same event callback can be used on a Widget with different 73 Other Widgets can use the same *event callback*. 245 :cpp:type:`lv_event_t` is the only parameter passed to the event callback and it
|
/lvgl-latest/docs/details/integration/driver/display/ |
D | ili9341.rst | 15 …tialization, supports display rotation and implements the display flush callback. The user needs t… 61 …end pixel data to the LCD controller (usually uses DMA transfer: must implement a 'ready' callback)
|
D | st7735.rst | 17 …tialization, supports display rotation and implements the display flush callback. The user needs t… 63 …end pixel data to the LCD controller (usually uses DMA transfer: must implement a 'ready' callback)
|
D | st7789.rst | 16 …tialization, supports display rotation and implements the display flush callback. The user needs t… 62 …end pixel data to the LCD controller (usually uses DMA transfer: must implement a 'ready' callback)
|
D | st7796.rst | 17 …tialization, supports display rotation and implements the display flush callback. The user needs t… 63 …end pixel data to the LCD controller (usually uses DMA transfer: must implement a 'ready' callback)
|
/lvgl-latest/docs/details/widgets/ |
D | animimg.rst | 43 :cpp:expr:`lv_anim_set_values(anim, start, end)` or to set a callback
|
/lvgl-latest/docs/details/main-components/ |
D | animation.rst | 18 "variable"), which is available in the callback functions that are called as the 25 The main callback called during an Animation (when it is playing) is called an 53 a given *animator* callback is one (1). However, the number of Animations that can 108 /* Set anim_template callback to indicate when the Animation is completed. */ 111 /* Set anim_template callback to indicate when the Animation is deleted (idle). */ 114 /* Set anim_template callback to indicate when the Animation is started (after delay). */
|
D | timer.rst | 43 A Timer callback should have this prototype: ``void (*lv_timer_cb_t)(lv_timer_t *)``. 156 when the Timer system is re-enabled again, set a resume callback using 157 :cpp:expr:`lv_timer_handler_set_resume_cb(cb, user_data)`. The callback should have
|
D | indev.rst | 143 To get the steps in an event callback use ``int32_t diff = lv_event_get_rotary_diff(e)`` 173 The driver or application collects touch events until the indev read callback 217 …p a listener for the ``LV_EVENT_GESTURE`` event type by defining and setting the callback function. 221 callback. 488 When the ``button_read`` callback in the example above changes the ``data->btn_id`` to ``0`` 513 Besides ``read_cb`` a ``feedback_cb`` callback can be also specified in
|
/lvgl-latest/docs/details/debugging/ |
D | log.rst | 41 can register a "logger" callback with :cpp:func:`lv_log_register_print_cb`.
|
/lvgl-latest/docs/intro/add-lvgl-to-your-project/ |
D | connecting_lvgl.rst | 58 1. Supply LVGL with a callback function to retrieve elapsed system milliseconds by 84 the Harvard instruction set, you can set a function like this as the callback passed
|
/lvgl-latest/docs/details/integration/chip/ |
D | stm32.rst | 59 … lv_display_set_flush_cb(disp, my_flush_cb); /* Set a flush callback to draw to the display */ 111 - Finally, write the callback function, ``my_flush_cb``, which will send the display buffer to your… 175 …lv_display_set_flush_cb(display, my_flush_cb); /* Set a flush callback to draw to the d…
|
/lvgl-latest/docs/details/integration/driver/ |
D | wayland.rst | 71 possibly with a close callback to track the status of each display: 120 when the LVGL flush callback is called.
|
D | X11.rst | 114 /* set optional window close callback to enable application cleanup and exit */
|