STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches

DCMI HAL module driver. More...

Collaboration diagram for DCMI:

Topics

 DCMI Exported Types
 
 DCMI Exported Constants
 
 DCMI Exported Macros
 
 DCMI Private Constants
 
 DCMI Private Macros
 
 DCMI Exported Functions
 

Macros

#define HAL_TIMEOUT_DCMI_STOP   14U /* Set timeout to 1s */
 

Functions

static void DCMI_DMAXferCplt (DMA_HandleTypeDef *hdma)
 DMA conversion complete callback.
 
static void DCMI_DMAError (DMA_HandleTypeDef *hdma)
 DMA error callback.
 

Detailed Description

DCMI HAL module driver.

Macro Definition Documentation

◆ HAL_TIMEOUT_DCMI_STOP

#define HAL_TIMEOUT_DCMI_STOP   14U /* Set timeout to 1s */

#include <stm32f4xx_hal_dcmi.c>

Definition at line 142 of file stm32f4xx_hal_dcmi.c.

Referenced by HAL_DCMI_Stop(), and HAL_DCMI_Suspend().

Function Documentation

◆ DCMI_DMAXferCplt()

static void DCMI_DMAXferCplt ( DMA_HandleTypeDef * hdma)
static

#include <stm32f4xx_hal_dcmi.c>

DMA conversion complete callback.

Parameters
hdmapointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA module.
Return values
None

Definition at line 1067 of file stm32f4xx_hal_dcmi.c.

References __HAL_DCMI_ENABLE_IT, DCMI_IT_FRAME, DCMI_MODE_SNAPSHOT, __DCMI_HandleTypeDef::DMA_Handle, HAL_DCMI_STATE_READY, HAL_DMAEx_ChangeMemory(), __DCMI_HandleTypeDef::Instance, __DMA_HandleTypeDef::Instance, MEMORY0, MEMORY1, __DCMI_HandleTypeDef::pBuffPtr, __DCMI_HandleTypeDef::State, __DCMI_HandleTypeDef::XferCount, __DCMI_HandleTypeDef::XferSize, and __DCMI_HandleTypeDef::XferTransferNumber.

Referenced by HAL_DCMI_Start_DMA().

◆ DCMI_DMAError()

static void DCMI_DMAError ( DMA_HandleTypeDef * hdma)
static

#include <stm32f4xx_hal_dcmi.c>

DMA error callback.

Parameters
hdmapointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA module.
Return values
None

Definition at line 1124 of file stm32f4xx_hal_dcmi.c.

References __DCMI_HandleTypeDef::DMA_Handle, __DMA_HandleTypeDef::ErrorCode, HAL_DCMI_ErrorCallback(), HAL_DCMI_STATE_READY, HAL_DMA_ERROR_FE, and __DCMI_HandleTypeDef::State.

Referenced by HAL_DCMI_IRQHandler(), and HAL_DCMI_Start_DMA().