STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
Macros
DCMI Exported Macros

Macros

#define __HAL_DCMI_RESET_HANDLE_STATE(__HANDLE__)   ((__HANDLE__)->State = HAL_DCMI_STATE_RESET)
 Reset DCMI handle state. More...
 
#define __HAL_DCMI_ENABLE(__HANDLE__)    ((__HANDLE__)->Instance->CR |= DCMI_CR_ENABLE)
 Enable the DCMI. More...
 
#define __HAL_DCMI_DISABLE(__HANDLE__)    ((__HANDLE__)->Instance->CR &= ~(DCMI_CR_ENABLE))
 Disable the DCMI. More...
 
#define __HAL_DCMI_GET_FLAG(__HANDLE__, __FLAG__)
 Get the DCMI pending flag. More...
 
#define __HAL_DCMI_CLEAR_FLAG(__HANDLE__, __FLAG__)   ((__HANDLE__)->Instance->ICR = (__FLAG__))
 Clear the DCMI pending flags. More...
 
#define __HAL_DCMI_ENABLE_IT(__HANDLE__, __INTERRUPT__)   ((__HANDLE__)->Instance->IER |= (__INTERRUPT__))
 Enable the specified DCMI interrupts. More...
 
#define __HAL_DCMI_DISABLE_IT(__HANDLE__, __INTERRUPT__)   ((__HANDLE__)->Instance->IER &= ~(__INTERRUPT__))
 Disable the specified DCMI interrupts. More...
 
#define __HAL_DCMI_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__)   ((__HANDLE__)->Instance->MISR & (__INTERRUPT__))
 Check whether the specified DCMI interrupt has occurred or not. More...
 

Detailed Description

Macro Definition Documentation

#define __HAL_DCMI_CLEAR_FLAG (   __HANDLE__,
  __FLAG__ 
)    ((__HANDLE__)->Instance->ICR = (__FLAG__))

Clear the DCMI pending flags.

Parameters
<strong>HANDLE</strong>DCMI handle
<strong>FLAG</strong>specifies the flag to clear. This parameter can be any combination of the following values:
  • DCMI_FLAG_FRAMERI: Frame capture complete flag mask
  • DCMI_FLAG_OVFRI: Overflow flag mask
  • DCMI_FLAG_ERRRI: Synchronization error flag mask
  • DCMI_FLAG_VSYNCRI: VSYNC flag mask
  • DCMI_FLAG_LINERI: Line flag mask
Return values
None

Definition at line 433 of file stm32f7xx_hal_dcmi.h.

#define __HAL_DCMI_DISABLE (   __HANDLE__)    ((__HANDLE__)->Instance->CR &= ~(DCMI_CR_ENABLE))

Disable the DCMI.

Parameters
<strong>HANDLE</strong>DCMI handle
Return values
None

Definition at line 394 of file stm32f7xx_hal_dcmi.h.

#define __HAL_DCMI_DISABLE_IT (   __HANDLE__,
  __INTERRUPT__ 
)    ((__HANDLE__)->Instance->IER &= ~(__INTERRUPT__))

Disable the specified DCMI interrupts.

Parameters
<strong>HANDLE</strong>DCMI handle
<strong>INTERRUPT</strong>specifies the DCMI interrupt sources to be enabled. This parameter can be any combination of the following values:
  • DCMI_IT_FRAME: Frame capture complete interrupt mask
  • DCMI_IT_OVF: Overflow interrupt mask
  • DCMI_IT_ERR: Synchronization error interrupt mask
  • DCMI_IT_VSYNC: VSYNC interrupt mask
  • DCMI_IT_LINE: Line interrupt mask
Return values
None

Definition at line 461 of file stm32f7xx_hal_dcmi.h.

#define __HAL_DCMI_ENABLE (   __HANDLE__)    ((__HANDLE__)->Instance->CR |= DCMI_CR_ENABLE)

Enable the DCMI.

Parameters
<strong>HANDLE</strong>DCMI handle
Return values
None

Definition at line 387 of file stm32f7xx_hal_dcmi.h.

#define __HAL_DCMI_ENABLE_IT (   __HANDLE__,
  __INTERRUPT__ 
)    ((__HANDLE__)->Instance->IER |= (__INTERRUPT__))

Enable the specified DCMI interrupts.

Parameters
<strong>HANDLE</strong>DCMI handle
<strong>INTERRUPT</strong>specifies the DCMI interrupt sources to be enabled. This parameter can be any combination of the following values:
  • DCMI_IT_FRAME: Frame capture complete interrupt mask
  • DCMI_IT_OVF: Overflow interrupt mask
  • DCMI_IT_ERR: Synchronization error interrupt mask
  • DCMI_IT_VSYNC: VSYNC interrupt mask
  • DCMI_IT_LINE: Line interrupt mask
Return values
None

Definition at line 447 of file stm32f7xx_hal_dcmi.h.

#define __HAL_DCMI_GET_FLAG (   __HANDLE__,
  __FLAG__ 
)
Value:
((((__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__)))
#define DCMI_SR_INDEX
#define DCMI_MIS_INDEX

Get the DCMI pending flag.

Parameters
<strong>HANDLE</strong>DCMI handle
<strong>FLAG</strong>Get the specified flag. This parameter can be one of the following values (no combination allowed)
  • DCMI_FLAG_HSYNC: HSYNC pin state (active line / synchronization between lines)
  • DCMI_FLAG_VSYNC: VSYNC pin state (active frame / synchronization between frames)
  • DCMI_FLAG_FNE: FIFO empty flag
  • DCMI_FLAG_FRAMERI: Frame capture complete flag mask
  • DCMI_FLAG_OVRRI: Overrun flag mask
  • DCMI_FLAG_ERRRI: Synchronization error flag mask
  • DCMI_FLAG_VSYNCRI: VSYNC flag mask
  • DCMI_FLAG_LINERI: Line flag mask
  • DCMI_FLAG_FRAMEMI: DCMI Capture complete masked interrupt status
  • DCMI_FLAG_OVRMI: DCMI Overrun masked interrupt status
  • DCMI_FLAG_ERRMI: DCMI Synchronization error masked interrupt status
  • DCMI_FLAG_VSYNCMI: DCMI VSYNC masked interrupt status
  • DCMI_FLAG_LINEMI: DCMI Line masked interrupt status
Return values
Thestate of FLAG.

Definition at line 417 of file stm32f7xx_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.

Parameters
<strong>HANDLE</strong>DCMI handle
<strong>INTERRUPT</strong>specifies the DCMI interrupt source to check. This parameter can be one of the following values:
  • DCMI_IT_FRAME: Frame capture complete interrupt mask
  • DCMI_IT_OVF: Overflow interrupt mask
  • DCMI_IT_ERR: Synchronization error interrupt mask
  • DCMI_IT_VSYNC: VSYNC interrupt mask
  • DCMI_IT_LINE: Line interrupt mask
Return values
Thestate of INTERRUPT.

Definition at line 475 of file stm32f7xx_hal_dcmi.h.

#define __HAL_DCMI_RESET_HANDLE_STATE (   __HANDLE__)    ((__HANDLE__)->State = HAL_DCMI_STATE_RESET)

Reset DCMI handle state.

Parameters
<strong>HANDLE</strong>specifies the DCMI handle.
Return values
None

Definition at line 380 of file stm32f7xx_hal_dcmi.h.