STM32H735xx HAL User Manual
|
Defines | |
#define | __HAL_LTDC_RESET_HANDLE_STATE(__HANDLE__) |
Reset LTDC handle state. | |
#define | __HAL_LTDC_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->GCR |= LTDC_GCR_LTDCEN) |
Enable the LTDC. | |
#define | __HAL_LTDC_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->GCR &= ~(LTDC_GCR_LTDCEN)) |
Disable the LTDC. | |
#define | __HAL_LTDC_LAYER_ENABLE(__HANDLE__, __LAYER__) ((LTDC_LAYER((__HANDLE__), (__LAYER__)))->CR |= (uint32_t)LTDC_LxCR_LEN) |
Enable the LTDC Layer. | |
#define | __HAL_LTDC_LAYER_DISABLE(__HANDLE__, __LAYER__) ((LTDC_LAYER((__HANDLE__), (__LAYER__)))->CR &= ~(uint32_t)LTDC_LxCR_LEN) |
Disable the LTDC Layer. | |
#define | __HAL_LTDC_RELOAD_IMMEDIATE_CONFIG(__HANDLE__) ((__HANDLE__)->Instance->SRCR |= LTDC_SRCR_IMR) |
Reload immediately all LTDC Layers. | |
#define | __HAL_LTDC_VERTICAL_BLANKING_RELOAD_CONFIG(__HANDLE__) ((__HANDLE__)->Instance->SRCR |= LTDC_SRCR_VBR) |
Reload during vertical blanking period all LTDC Layers. | |
#define | __HAL_LTDC_GET_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->ISR & (__FLAG__)) |
Get the LTDC pending flags. | |
#define | __HAL_LTDC_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->ICR = (__FLAG__)) |
Clears the LTDC pending flags. | |
#define | __HAL_LTDC_ENABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->IER |= (__INTERRUPT__)) |
Enables the specified LTDC interrupts. | |
#define | __HAL_LTDC_DISABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->IER &= ~(__INTERRUPT__)) |
Disables the specified LTDC interrupts. | |
#define | __HAL_LTDC_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->IER & (__INTERRUPT__)) |
Check whether the specified LTDC interrupt has occurred or not. |
#define __HAL_LTDC_CLEAR_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((__HANDLE__)->Instance->ICR = (__FLAG__)) |
Clears the LTDC pending flags.
__HANDLE__ | LTDC handle |
__FLAG__ | Specify the flag to clear. This parameter can be any combination of the following values:
|
None |
Definition at line 482 of file stm32h7xx_hal_ltdc.h.
Referenced by HAL_LTDC_IRQHandler().
#define __HAL_LTDC_DISABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->GCR &= ~(LTDC_GCR_LTDCEN)) |
Disable the LTDC.
__HANDLE__ | LTDC handle |
None. |
Definition at line 423 of file stm32h7xx_hal_ltdc.h.
#define __HAL_LTDC_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->IER &= ~(__INTERRUPT__)) |
Disables the specified LTDC interrupts.
__HANDLE__ | LTDC handle |
__INTERRUPT__ | Specify the LTDC interrupt sources to be disabled. This parameter can be any combination of the following values:
|
None |
Definition at line 508 of file stm32h7xx_hal_ltdc.h.
Referenced by HAL_LTDC_IRQHandler(), and HAL_LTDC_ProgramLineEvent().
#define __HAL_LTDC_ENABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->GCR |= LTDC_GCR_LTDCEN) |
Enable the LTDC.
__HANDLE__ | LTDC handle |
None. |
Definition at line 416 of file stm32h7xx_hal_ltdc.h.
Referenced by HAL_LTDC_Init().
#define __HAL_LTDC_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->IER |= (__INTERRUPT__)) |
Enables the specified LTDC interrupts.
__HANDLE__ | LTDC handle |
__INTERRUPT__ | Specify the LTDC interrupt sources to be enabled. This parameter can be any combination of the following values:
|
None |
Definition at line 495 of file stm32h7xx_hal_ltdc.h.
Referenced by HAL_LTDC_Init(), HAL_LTDC_ProgramLineEvent(), and HAL_LTDC_Reload().
#define __HAL_LTDC_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((__HANDLE__)->Instance->ISR & (__FLAG__)) |
Get the LTDC pending flags.
__HANDLE__ | LTDC handle |
__FLAG__ | Get the specified flag. This parameter can be any combination of the following values:
|
The | state of FLAG (SET or RESET). |
Definition at line 469 of file stm32h7xx_hal_ltdc.h.
#define __HAL_LTDC_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->IER & (__INTERRUPT__)) |
Check whether the specified LTDC interrupt has occurred or not.
__HANDLE__ | LTDC handle |
__INTERRUPT__ | Specify the LTDC interrupt source to check. This parameter can be one of the following values:
|
The | state of INTERRUPT (SET or RESET). |
Definition at line 521 of file stm32h7xx_hal_ltdc.h.
#define __HAL_LTDC_LAYER_DISABLE | ( | __HANDLE__, | |
__LAYER__ | |||
) | ((LTDC_LAYER((__HANDLE__), (__LAYER__)))->CR &= ~(uint32_t)LTDC_LxCR_LEN) |
Disable the LTDC Layer.
__HANDLE__ | LTDC handle |
__LAYER__ | Specify the layer to be disabled. This parameter can be LTDC_LAYER_1 (0) or LTDC_LAYER_2 (1). |
None. |
Definition at line 441 of file stm32h7xx_hal_ltdc.h.
#define __HAL_LTDC_LAYER_ENABLE | ( | __HANDLE__, | |
__LAYER__ | |||
) | ((LTDC_LAYER((__HANDLE__), (__LAYER__)))->CR |= (uint32_t)LTDC_LxCR_LEN) |
Enable the LTDC Layer.
__HANDLE__ | LTDC handle |
__LAYER__ | Specify the layer to be enabled. This parameter can be LTDC_LAYER_1 (0) or LTDC_LAYER_2 (1). |
None. |
Definition at line 432 of file stm32h7xx_hal_ltdc.h.
#define __HAL_LTDC_RELOAD_IMMEDIATE_CONFIG | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->SRCR |= LTDC_SRCR_IMR) |
Reload immediately all LTDC Layers.
__HANDLE__ | LTDC handle |
None. |
Definition at line 448 of file stm32h7xx_hal_ltdc.h.
#define __HAL_LTDC_RESET_HANDLE_STATE | ( | __HANDLE__ | ) |
do{ \ (__HANDLE__)->State = HAL_LTDC_STATE_RESET; \ (__HANDLE__)->MspInitCallback = NULL; \ (__HANDLE__)->MspDeInitCallback = NULL; \ } while(0)
Reset LTDC handle state.
__HANDLE__ | LTDC handle |
None |
Definition at line 402 of file stm32h7xx_hal_ltdc.h.
#define __HAL_LTDC_VERTICAL_BLANKING_RELOAD_CONFIG | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->SRCR |= LTDC_SRCR_VBR) |
Reload during vertical blanking period all LTDC Layers.
__HANDLE__ | LTDC handle |
None. |
Definition at line 455 of file stm32h7xx_hal_ltdc.h.