Contains the information regarding a specific screen.
|
| screen_type_t(* | Refresh )(void) |
| | This function refreshes the screen data and indicates screen switching if required.
|
| |
|
void(* | Load )(void) |
| | Call this function in the new screen before switching to the new screen.
|
| |
|
void(* | Unload )(void) |
| | Call this function in the old screen before calling Load() in the new screen.
|
| |
|
ltdc_layer_info_t * | directLayer |
| | The information for the directly displayed layer in LTDC module.
|
| |
|
ltdc_layer_info_t * | lvglLayer |
| | The information for the LVGL layer in LTDC module.
|
| |
◆ Refresh
- Returns
- If it is required to switch screen, returns target screen. If it is required to switch to previous screen returns SCREEN_PREVIOUS. If there is no need to switch screen returns SCREEN _NONE.