STM32F4 Standard Peripheral bibliotheek  1.0
ST Microelectronics bibliotheek documentatie voor de STM32F4 Standard Peripheral Library
 All Data Structures Files Functions Variables Enumerations Enumerator Groups
Interrupts and flags management functions

Interrupts and flags management functions. More...

Functions

void DCMI_ITConfig (uint16_t DCMI_IT, FunctionalState NewState)
 Enables or disables the DCMI interface interrupts. More...
 
FlagStatus DCMI_GetFlagStatus (uint16_t DCMI_FLAG)
 Checks whether the DCMI interface flag is set or not. More...
 
void DCMI_ClearFlag (uint16_t DCMI_FLAG)
 Clears the DCMI's pending flags. More...
 
ITStatus DCMI_GetITStatus (uint16_t DCMI_IT)
 Checks whether the DCMI interrupt has occurred or not. More...
 
void DCMI_ClearITPendingBit (uint16_t DCMI_IT)
 Clears the DCMI's interrupt pending bits. More...
 

Detailed Description

Interrupts and flags management functions.

 ===============================================================================
                  Interrupts and flags management functions
 ===============================================================================  

Function Documentation

void DCMI_ClearFlag ( uint16_t  DCMI_FLAG)

Clears the DCMI's pending flags.

Parameters
DCMI_FLAG,:specifies the flag to clear. This parameter can be any combination of the following values:
  • DCMI_FLAG_FRAMERI: Frame capture complete Raw flag mask
  • DCMI_FLAG_OVFRI: Overflow Raw flag mask
  • DCMI_FLAG_ERRRI: Synchronization error Raw flag mask
  • DCMI_FLAG_VSYNCRI: VSYNC Raw flag mask
  • DCMI_FLAG_LINERI: Line Raw flag mask
Return values
None
void DCMI_ClearITPendingBit ( uint16_t  DCMI_IT)

Clears the DCMI's interrupt pending bits.

Parameters
DCMI_IT,:specifies the DCMI interrupt pending bit to clear. 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
FlagStatus DCMI_GetFlagStatus ( uint16_t  DCMI_FLAG)

Checks whether the DCMI interface flag is set or not.

Parameters
DCMI_FLAG,:specifies the flag to check. This parameter can be one of the following values:
  • DCMI_FLAG_FRAMERI: Frame capture complete Raw flag mask
  • DCMI_FLAG_OVFRI: Overflow Raw flag mask
  • DCMI_FLAG_ERRRI: Synchronization error Raw flag mask
  • DCMI_FLAG_VSYNCRI: VSYNC Raw flag mask
  • DCMI_FLAG_LINERI: Line Raw flag mask
  • DCMI_FLAG_FRAMEMI: Frame capture complete Masked flag mask
  • DCMI_FLAG_OVFMI: Overflow Masked flag mask
  • DCMI_FLAG_ERRMI: Synchronization error Masked flag mask
  • DCMI_FLAG_VSYNCMI: VSYNC Masked flag mask
  • DCMI_FLAG_LINEMI: Line Masked flag mask
  • DCMI_FLAG_HSYNC: HSYNC flag mask
  • DCMI_FLAG_VSYNC: VSYNC flag mask
  • DCMI_FLAG_FNE: Fifo not empty flag mask
Return values
Thenew state of DCMI_FLAG (SET or RESET).
ITStatus DCMI_GetITStatus ( uint16_t  DCMI_IT)

Checks whether the DCMI interrupt has occurred or not.

Parameters
DCMI_IT,: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
Thenew state of DCMI_IT (SET or RESET).
void DCMI_ITConfig ( uint16_t  DCMI_IT,
FunctionalState  NewState 
)

Enables or disables the DCMI interface interrupts.

Parameters
DCMI_IT,:specifies the DCMI interrupt sources to be enabled or disabled. 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
NewState,:new state of the specified DCMI interrupts. This parameter can be: ENABLE or DISABLE.
Return values
None