HAL LTDC Overview ¶
Introducing LTDC ¶
- group LTDC_Introduction
-
-
This introduction is under development.
-
Module and files ¶
The following diagram illustrates the LTDC module and its associated files.
Component diagram ¶
The following diagram illustrates the software components involved in the LTDC module. It shows the interactions between the user application, HAL drivers, low-level drivers, and the hardware components.
Configuration table ¶
The following table lists the configuration defines for the HAL LTDC module, specifying their locations, default values, and descriptions:
- group LTDC_Configuration_Table
-
¶
Configuration inside the LTDC driver ¶
Config defines
Description
Default value
Note
USE_HAL_LTDC_MODULE
from hal_conf.h
1
When set, HAL LTDC module is enabled
USE_HAL_LTDC_REGISTER_CALLBACKS
from hal_conf.h
0
When set, enable the register callbacks
USE_HAL_LTDC_CLK_ENABLE_MODEL
from hal_conf.h
HAL_CLK_ENABLE_NO
Enable the gating of the peripheral clock
USE_HAL_CHECK_PARAM
from hal_conf.h
0
When set, the vital parameters (pointers or sizes) are checked in runtime .
USE_ASSERT_DBG_PARAM
from PreProcessor env
None
When defined, enable the params assert
USE_ASSERT_DBG_STATE
from PreProcessor env
None
When defined, enable the state assert
USE_HAL_LTDC_USER_DATA
from hal_conf.h
0
When set, user data is defined in handle
USE_HAL_LTDC_GET_LAST_ERRORS
from hal_conf.h
0
When set, user can get the last error code