Lines Matching refs:display
3 To register a display for LVGL, a `lv_disp_draw_buf_t` and a `lv_disp_drv_t` variable have to be in…
5 - `lv_disp_drv_t` contains callback functions to interact with the display and manipulate low level…
10 …y the content of the draw buffer is sent to the display using the `flush_cb` function set in the d…
40 …fer is used LVGL draws the content of the screen into that draw buffer and sends it to the display.
41 LVGL then needs to wait until the content of the buffer is sent to the display before drawing somet…
44 …raw into one buffer while the content of the other buffer is sent to the display in the background.
45 DMA or other hardware should be used to transfer data to the display so the MCU can continue drawin…
46 This way, the rendering and refreshing of the display become parallel operations.
49 In the display driver (`lv_disp_drv_t`) enabling the `full_refresh` bit will force LVGL to always r…
50 If `full_refresh` is enabled and two screen sized draw buffers are provided, LVGL's display handlin…
52 …sed if the MCU has an LCD controller peripheral and not with an external display controller (e.g. …
55 If the `direct_mode` flag is enabled in the display driver LVGL will draw directly into a **screen …
64 `_lv_refr_get_disp_refreshing()` returns the display being refreshed
71 Once the buffer initialization is ready a `lv_disp_drv_t` display driver needs to be:
81 - `hor_res` horizontal resolution of the display in pixels.
82 - `ver_res` vertical resolution of the display in pixels.
83 - `flush_cb` a callback function to copy a buffer's content to a specific area of the display.
88 There are some optional display driver data fields:
89 - `physical_hor_res` horizontal resolution of the full / physical display in pixels. Only set this …
90 - `physical_ver_res` vertical resolution of the full / physical display in pixels. Only set this wh…
91 - `offset_x` horizontal offset from the full / physical display in pixels. Only set this when _not_…
92 - `offset_y` vertical offset from the full / physical display in pixels. Only set this when _not_ u…
103 It can be used if the display controller can refresh only areas with specific height or width (usua…
104 …can be used to store the pixels more compactly in the draw buffer if the display has a special col…
106 …ere refreshed and in how much time. Called when the last chunk is rendered and sent to the display.
107 - `clean_dcache_cb` A callback for cleaning any caches related to the display.
108 - `render_start_cb` A callback function that notifies the display driver that rendering has started…
120 disp_drv.flush_cb = my_flush_cb; /*Set a flush callback to draw to the display*/
125 disp = lv_disp_drv_register(&disp_drv); /*Register the driver and save the created display objects*/
172 /* Write to the buffer as required for the display.
195 LVGL supports rotation of the display in 90 degree increments. You can select whether you'd like so…
197 …the screen width and height have not changed. Simply flush pixels to the display as normal. Softwa…
201 …display when it is initialized can be set using the `rotated` flag. The available options are `LV_…
213 ### Decoupling the display refresh timer
215 However, in some cases you might need more control on when the display refreshing happen, for examp…
219 /*Delete the original display refresh timer*/
228 If you have multiple displays call `lv_disp_set_deafult(disp1);` to select the display to refresh b…
232 …_PERIOD` needs to be set to be consistent with the refresh period of the display to ensure that th…
238 - [Display features](/overview/display) to learn more about higher level display features.