STM32F479xx HAL User Manual
|
Defines | |
#define | __HAL_DSI_RESET_HANDLE_STATE(__HANDLE__) |
Reset DSI handle state. | |
#define | __HAL_DSI_ENABLE(__HANDLE__) |
Enables the DSI host. | |
#define | __HAL_DSI_DISABLE(__HANDLE__) |
Disables the DSI host. | |
#define | __HAL_DSI_WRAPPER_ENABLE(__HANDLE__) |
Enables the DSI wrapper. | |
#define | __HAL_DSI_WRAPPER_DISABLE(__HANDLE__) |
Disable the DSI wrapper. | |
#define | __HAL_DSI_PLL_ENABLE(__HANDLE__) |
Enables the DSI PLL. | |
#define | __HAL_DSI_PLL_DISABLE(__HANDLE__) |
Disables the DSI PLL. | |
#define | __HAL_DSI_REG_ENABLE(__HANDLE__) |
Enables the DSI regulator. | |
#define | __HAL_DSI_REG_DISABLE(__HANDLE__) |
Disables the DSI regulator. | |
#define | __HAL_DSI_GET_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->WISR & (__FLAG__)) |
Get the DSI pending flags. | |
#define | __HAL_DSI_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->WIFCR = (__FLAG__)) |
Clears the DSI pending flags. | |
#define | __HAL_DSI_ENABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->WIER |= (__INTERRUPT__)) |
Enables the specified DSI interrupts. | |
#define | __HAL_DSI_DISABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->WIER &= ~(__INTERRUPT__)) |
Disables the specified DSI interrupts. | |
#define | __HAL_DSI_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->WIER & (__INTERRUPT__)) |
Checks whether the specified DSI interrupt source is enabled or not. |
#define __HAL_DSI_CLEAR_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((__HANDLE__)->Instance->WIFCR = (__FLAG__)) |
Clears the DSI pending flags.
__HANDLE__ | DSI handle. |
__FLAG__ | specifies the flag to clear. This parameter can be any combination of the following values:
|
None |
Definition at line 1072 of file stm32f4xx_hal_dsi.h.
Referenced by HAL_DSI_IRQHandler().
#define __HAL_DSI_DISABLE | ( | __HANDLE__ | ) |
do { \ __IO uint32_t tmpreg = 0x00U; \ CLEAR_BIT((__HANDLE__)->Instance->CR, DSI_CR_EN);\ /* Delay after an DSI Host disabling */ \ tmpreg = READ_BIT((__HANDLE__)->Instance->CR, DSI_CR_EN);\ UNUSED(tmpreg); \ } while(0U)
Disables the DSI host.
__HANDLE__ | DSI handle |
None. |
Definition at line 957 of file stm32f4xx_hal_dsi.h.
Referenced by HAL_DSI_DeInit(), and HAL_DSI_Stop().
#define __HAL_DSI_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->WIER &= ~(__INTERRUPT__)) |
Disables the specified DSI interrupts.
__HANDLE__ | DSI handle |
__INTERRUPT__ | specifies the DSI interrupt sources to be disabled. This parameter can be any combination of the following values:
|
None |
Definition at line 1100 of file stm32f4xx_hal_dsi.h.
#define __HAL_DSI_ENABLE | ( | __HANDLE__ | ) |
do { \ __IO uint32_t tmpreg = 0x00U; \ SET_BIT((__HANDLE__)->Instance->CR, DSI_CR_EN);\ /* Delay after an DSI Host enabling */ \ tmpreg = READ_BIT((__HANDLE__)->Instance->CR, DSI_CR_EN);\ UNUSED(tmpreg); \ } while(0U)
Enables the DSI host.
__HANDLE__ | DSI handle |
None. |
Definition at line 944 of file stm32f4xx_hal_dsi.h.
Referenced by HAL_DSI_Start().
#define __HAL_DSI_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->WIER |= (__INTERRUPT__)) |
Enables the specified DSI interrupts.
__HANDLE__ | DSI handle. |
__INTERRUPT__ | specifies the DSI interrupt sources to be enabled. This parameter can be any combination of the following values:
|
None |
Definition at line 1086 of file stm32f4xx_hal_dsi.h.
Referenced by HAL_DSI_ConfigAdaptedCommandMode().
#define __HAL_DSI_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((__HANDLE__)->Instance->WISR & (__FLAG__)) |
Get the DSI pending flags.
__HANDLE__ | DSI 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 1058 of file stm32f4xx_hal_dsi.h.
Referenced by HAL_DSI_ExitULPM(), HAL_DSI_Init(), and HAL_DSI_IRQHandler().
#define __HAL_DSI_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->WIER & (__INTERRUPT__)) |
Checks whether the specified DSI interrupt source is enabled or not.
__HANDLE__ | DSI handle |
__INTERRUPT__ | specifies the DSI interrupt source to check. This parameter can be one of the following values:
|
The | state of INTERRUPT (SET or RESET). |
Definition at line 1114 of file stm32f4xx_hal_dsi.h.
Referenced by HAL_DSI_IRQHandler().
#define __HAL_DSI_PLL_DISABLE | ( | __HANDLE__ | ) |
do { \ __IO uint32_t tmpreg = 0x00U; \ CLEAR_BIT((__HANDLE__)->Instance->WRPCR, DSI_WRPCR_PLLEN);\ /* Delay after an DSI PLL disabling */ \ tmpreg = READ_BIT((__HANDLE__)->Instance->WRPCR, DSI_WRPCR_PLLEN);\ UNUSED(tmpreg); \ } while(0U)
Disables the DSI PLL.
__HANDLE__ | DSI handle |
None. |
Definition at line 1009 of file stm32f4xx_hal_dsi.h.
Referenced by HAL_DSI_DeInit(), and HAL_DSI_EnterULPM().
#define __HAL_DSI_PLL_ENABLE | ( | __HANDLE__ | ) |
do { \ __IO uint32_t tmpreg = 0x00U; \ SET_BIT((__HANDLE__)->Instance->WRPCR, DSI_WRPCR_PLLEN);\ /* Delay after an DSI PLL enabling */ \ tmpreg = READ_BIT((__HANDLE__)->Instance->WRPCR, DSI_WRPCR_PLLEN);\ UNUSED(tmpreg); \ } while(0U)
Enables the DSI PLL.
__HANDLE__ | DSI handle |
None. |
Definition at line 996 of file stm32f4xx_hal_dsi.h.
Referenced by HAL_DSI_ExitULPM(), and HAL_DSI_Init().
#define __HAL_DSI_REG_DISABLE | ( | __HANDLE__ | ) |
do { \ __IO uint32_t tmpreg = 0x00U; \ CLEAR_BIT((__HANDLE__)->Instance->WRPCR, DSI_WRPCR_REGEN);\ /* Delay after an DSI regulator disabling */ \ tmpreg = READ_BIT((__HANDLE__)->Instance->WRPCR, DSI_WRPCR_REGEN);\ UNUSED(tmpreg); \ } while(0U)
Disables the DSI regulator.
__HANDLE__ | DSI handle |
None. |
Definition at line 1035 of file stm32f4xx_hal_dsi.h.
Referenced by HAL_DSI_DeInit().
#define __HAL_DSI_REG_ENABLE | ( | __HANDLE__ | ) |
do { \ __IO uint32_t tmpreg = 0x00U; \ SET_BIT((__HANDLE__)->Instance->WRPCR, DSI_WRPCR_REGEN);\ /* Delay after an DSI regulator enabling */ \ tmpreg = READ_BIT((__HANDLE__)->Instance->WRPCR, DSI_WRPCR_REGEN);\ UNUSED(tmpreg); \ } while(0U)
Enables the DSI regulator.
__HANDLE__ | DSI handle |
None. |
Definition at line 1022 of file stm32f4xx_hal_dsi.h.
Referenced by HAL_DSI_Init().
#define __HAL_DSI_RESET_HANDLE_STATE | ( | __HANDLE__ | ) |
do{ \ (__HANDLE__)->State = HAL_DSI_STATE_RESET; \ (__HANDLE__)->MspInitCallback = NULL; \ (__HANDLE__)->MspDeInitCallback = NULL; \ } while(0)
Reset DSI handle state.
__HANDLE__ | DSI handle |
None |
Definition at line 930 of file stm32f4xx_hal_dsi.h.
#define __HAL_DSI_WRAPPER_DISABLE | ( | __HANDLE__ | ) |
do { \ __IO uint32_t tmpreg = 0x00U; \ CLEAR_BIT((__HANDLE__)->Instance->WCR, DSI_WCR_DSIEN);\ /* Delay after an DSI warpper disabling*/ \ tmpreg = READ_BIT((__HANDLE__)->Instance->WCR, DSI_WCR_DSIEN);\ UNUSED(tmpreg); \ } while(0U)
Disable the DSI wrapper.
__HANDLE__ | DSI handle |
None. |
Definition at line 983 of file stm32f4xx_hal_dsi.h.
Referenced by HAL_DSI_DeInit(), and HAL_DSI_Stop().
#define __HAL_DSI_WRAPPER_ENABLE | ( | __HANDLE__ | ) |
do { \ __IO uint32_t tmpreg = 0x00U; \ SET_BIT((__HANDLE__)->Instance->WCR, DSI_WCR_DSIEN);\ /* Delay after an DSI warpper enabling */ \ tmpreg = READ_BIT((__HANDLE__)->Instance->WCR, DSI_WCR_DSIEN);\ UNUSED(tmpreg); \ } while(0U)
Enables the DSI wrapper.
__HANDLE__ | DSI handle |
None. |
Definition at line 970 of file stm32f4xx_hal_dsi.h.
Referenced by HAL_DSI_Start().