STM32H735xx HAL User Manual
|
Defines | |
#define | __HAL_DCMI_RESET_HANDLE_STATE(__HANDLE__) |
Reset DCMI handle state. | |
#define | __HAL_DCMI_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR |= DCMI_CR_ENABLE) |
Enable the DCMI. | |
#define | __HAL_DCMI_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR &= ~(DCMI_CR_ENABLE)) |
Disable the DCMI. | |
#define | __HAL_DCMI_GET_FLAG(__HANDLE__, __FLAG__) |
Get the DCMI pending flag. | |
#define | __HAL_DCMI_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->ICR = (__FLAG__)) |
Clear the DCMI pending flags. | |
#define | __HAL_DCMI_ENABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->IER |= (__INTERRUPT__)) |
Enable the specified DCMI interrupts. | |
#define | __HAL_DCMI_DISABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->IER &= ~(__INTERRUPT__)) |
Disable the specified DCMI interrupts. | |
#define | __HAL_DCMI_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->MISR & (__INTERRUPT__)) |
Check whether the specified DCMI interrupt has occurred or not. |
#define __HAL_DCMI_CLEAR_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((__HANDLE__)->Instance->ICR = (__FLAG__)) |
Clear the DCMI pending flags.
__HANDLE__ | DCMI handle |
__FLAG__ | specifies the flag to clear. This parameter can be any combination of the following values:
|
None |
Definition at line 466 of file stm32h7xx_hal_dcmi.h.
Referenced by HAL_DCMI_IRQHandler().
#define __HAL_DCMI_DISABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR &= ~(DCMI_CR_ENABLE)) |
Disable the DCMI.
__HANDLE__ | DCMI handle |
None |
Definition at line 427 of file stm32h7xx_hal_dcmi.h.
Referenced by HAL_DCMI_Stop().
#define __HAL_DCMI_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->IER &= ~(__INTERRUPT__)) |
Disable the specified DCMI interrupts.
__HANDLE__ | DCMI handle |
__INTERRUPT__ | specifies the DCMI interrupt sources to be enabled. This parameter can be any combination of the following values:
|
None |
Definition at line 494 of file stm32h7xx_hal_dcmi.h.
Referenced by HAL_DCMI_IRQHandler().
#define __HAL_DCMI_ENABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR |= DCMI_CR_ENABLE) |
Enable the DCMI.
__HANDLE__ | DCMI handle |
None |
Definition at line 420 of file stm32h7xx_hal_dcmi.h.
Referenced by HAL_DCMI_Start_DMA().
#define __HAL_DCMI_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->IER |= (__INTERRUPT__)) |
Enable the specified DCMI interrupts.
__HANDLE__ | DCMI handle |
__INTERRUPT__ | specifies the DCMI interrupt sources to be enabled. This parameter can be any combination of the following values:
|
None |
Definition at line 480 of file stm32h7xx_hal_dcmi.h.
Referenced by DCMI_DMAXferCplt(), and HAL_DCMI_Init().
#define __HAL_DCMI_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) |
((((__FLAG__) & (DCMI_SR_INDEX|DCMI_MIS_INDEX)) == 0x0)? ((__HANDLE__)->Instance->RIS & (__FLAG__)) :\ (((__FLAG__) & DCMI_SR_INDEX) == 0x0)? ((__HANDLE__)->Instance->MIS & (__FLAG__)) : ((__HANDLE__)->Instance->SR & (__FLAG__)))
Get the DCMI pending flag.
__HANDLE__ | DCMI handle |
__FLAG__ | Get the specified flag. This parameter can be one of the following values (no combination allowed)
|
The | state of FLAG. |
Definition at line 450 of file stm32h7xx_hal_dcmi.h.
#define __HAL_DCMI_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->MISR & (__INTERRUPT__)) |
Check whether the specified DCMI interrupt has occurred or not.
__HANDLE__ | DCMI handle |
__INTERRUPT__ | specifies the DCMI interrupt source to check. This parameter can be one of the following values:
|
The | state of INTERRUPT. |
Definition at line 508 of file stm32h7xx_hal_dcmi.h.
#define __HAL_DCMI_RESET_HANDLE_STATE | ( | __HANDLE__ | ) |
do{ \ (__HANDLE__)->State = HAL_DCMI_STATE_RESET; \ (__HANDLE__)->MspInitCallback = NULL; \ (__HANDLE__)->MspDeInitCallback = NULL; \ } while(0)
Reset DCMI handle state.
__HANDLE__ | specifies the DCMI handle. |
None |
Definition at line 406 of file stm32h7xx_hal_dcmi.h.