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

IO operation functions. More...

Collaboration diagram for IO operation functions:

Functions

HAL_StatusTypeDef HAL_DCMI_Start_DMA (DCMI_HandleTypeDef *hdcmi, uint32_t DCMI_Mode, uint32_t pData, uint32_t Length)
 Enables DCMI DMA request and enables DCMI capture.
 
HAL_StatusTypeDef HAL_DCMI_Stop (DCMI_HandleTypeDef *hdcmi)
 Disable DCMI DMA request and Disable DCMI capture.
 
HAL_StatusTypeDef HAL_DCMI_Suspend (DCMI_HandleTypeDef *hdcmi)
 Suspend DCMI capture

 
HAL_StatusTypeDef HAL_DCMI_Resume (DCMI_HandleTypeDef *hdcmi)
 Resume DCMI capture

 
void HAL_DCMI_ErrorCallback (DCMI_HandleTypeDef *hdcmi)
 Error DCMI callback.
 
void HAL_DCMI_LineEventCallback (DCMI_HandleTypeDef *hdcmi)
 Line Event callback.
 
void HAL_DCMI_FrameEventCallback (DCMI_HandleTypeDef *hdcmi)
 Frame Event callback.
 
void HAL_DCMI_VsyncEventCallback (DCMI_HandleTypeDef *hdcmi)
 VSYNC Event callback.
 
void HAL_DCMI_VsyncCallback (DCMI_HandleTypeDef *hdcmi)
 
void HAL_DCMI_HsyncCallback (DCMI_HandleTypeDef *hdcmi)
 
void HAL_DCMI_IRQHandler (DCMI_HandleTypeDef *hdcmi)
 Handles DCMI interrupt request.
 

Detailed Description

IO operation functions.

 ===============================================================================
                      #####  IO operation functions  #####
 ===============================================================================
    [..]  This section provides functions allowing to:
      (+) Configure destination address and data length and
          Enables DCMI DMA request and enables DCMI capture
      (+) Stop the DCMI capture.
      (+) Handles DCMI interrupt request.

Function Documentation

◆ HAL_DCMI_Start_DMA()

HAL_StatusTypeDef HAL_DCMI_Start_DMA ( DCMI_HandleTypeDef * hdcmi,
uint32_t DCMI_Mode,
uint32_t pData,
uint32_t Length )

#include <stm32f4xx_hal_dcmi.h>

Enables DCMI DMA request and enables DCMI capture.

Parameters
hdcmipointer to a DCMI_HandleTypeDef structure that contains the configuration information for DCMI.
DCMI_ModeDCMI capture mode snapshot or continuous grab.
pDataThe destination memory Buffer address (LCD Frame buffer).
LengthThe length of capture to be transferred.
Return values
HALstatus

Definition at line 347 of file stm32f4xx_hal_dcmi.c.

References __HAL_DCMI_ENABLE, __HAL_LOCK, __HAL_UNLOCK, assert_param, DCMI_DMAError(), DCMI_DMAXferCplt(), __DCMI_HandleTypeDef::DMA_Handle, HAL_DCMI_STATE_BUSY, HAL_DMA_Start_IT(), HAL_DMAEx_MultiBufferStart_IT(), HAL_OK, __DCMI_HandleTypeDef::Instance, IS_DCMI_CAPTURE_MODE, __DCMI_HandleTypeDef::pBuffPtr, __DCMI_HandleTypeDef::State, __DMA_HandleTypeDef::XferAbortCallback, __DCMI_HandleTypeDef::XferCount, __DMA_HandleTypeDef::XferCpltCallback, __DMA_HandleTypeDef::XferErrorCallback, __DMA_HandleTypeDef::XferM1CpltCallback, __DCMI_HandleTypeDef::XferSize, and __DCMI_HandleTypeDef::XferTransferNumber.

◆ HAL_DCMI_Stop()

HAL_StatusTypeDef HAL_DCMI_Stop ( DCMI_HandleTypeDef * hdcmi)

#include <stm32f4xx_hal_dcmi.h>

Disable DCMI DMA request and Disable DCMI capture.

Parameters
hdcmipointer to a DCMI_HandleTypeDef structure that contains the configuration information for DCMI.
Return values
HALstatus

Definition at line 430 of file stm32f4xx_hal_dcmi.c.

References __HAL_DCMI_DISABLE, __HAL_LOCK, __HAL_UNLOCK, __DCMI_HandleTypeDef::DMA_Handle, __DCMI_HandleTypeDef::ErrorCode, HAL_DCMI_ERROR_NONE, HAL_DCMI_ERROR_TIMEOUT, HAL_DCMI_STATE_BUSY, HAL_DCMI_STATE_READY, HAL_DMA_Abort(), HAL_OK, HAL_TIMEOUT, HAL_TIMEOUT_DCMI_STOP, __DCMI_HandleTypeDef::Instance, and __DCMI_HandleTypeDef::State.

◆ HAL_DCMI_Suspend()

HAL_StatusTypeDef HAL_DCMI_Suspend ( DCMI_HandleTypeDef * hdcmi)

#include <stm32f4xx_hal_dcmi.h>

Suspend DCMI capture

Parameters
hdcmipointer to a DCMI_HandleTypeDef structure that contains the configuration information for DCMI.
Return values
HALstatus

Definition at line 483 of file stm32f4xx_hal_dcmi.c.

References __HAL_LOCK, __HAL_UNLOCK, __DCMI_HandleTypeDef::ErrorCode, HAL_DCMI_ERROR_TIMEOUT, HAL_DCMI_STATE_BUSY, HAL_DCMI_STATE_READY, HAL_DCMI_STATE_SUSPENDED, HAL_OK, HAL_TIMEOUT, HAL_TIMEOUT_DCMI_STOP, __DCMI_HandleTypeDef::Instance, and __DCMI_HandleTypeDef::State.

◆ HAL_DCMI_Resume()

HAL_StatusTypeDef HAL_DCMI_Resume ( DCMI_HandleTypeDef * hdcmi)

#include <stm32f4xx_hal_dcmi.h>

Resume DCMI capture

Parameters
hdcmipointer to a DCMI_HandleTypeDef structure that contains the configuration information for DCMI.
Return values
HALstatus

Definition at line 529 of file stm32f4xx_hal_dcmi.c.

References __HAL_LOCK, __HAL_UNLOCK, HAL_DCMI_STATE_BUSY, HAL_DCMI_STATE_SUSPENDED, HAL_OK, __DCMI_HandleTypeDef::Instance, and __DCMI_HandleTypeDef::State.

◆ HAL_DCMI_ErrorCallback()

__weak void HAL_DCMI_ErrorCallback ( DCMI_HandleTypeDef * hdcmi)

#include <stm32f4xx_hal_dcmi.h>

Error DCMI callback.

Parameters
hdcmipointer to a DCMI_HandleTypeDef structure that contains the configuration information for DCMI.
Return values
None

Definition at line 652 of file stm32f4xx_hal_dcmi.c.

References UNUSED.

Referenced by DCMI_DMAError(), and HAL_DCMI_Init().

◆ HAL_DCMI_LineEventCallback()

__weak void HAL_DCMI_LineEventCallback ( DCMI_HandleTypeDef * hdcmi)

#include <stm32f4xx_hal_dcmi.h>

Line Event callback.

Parameters
hdcmipointer to a DCMI_HandleTypeDef structure that contains the configuration information for DCMI.
Return values
None

Definition at line 667 of file stm32f4xx_hal_dcmi.c.

References UNUSED.

Referenced by HAL_DCMI_Init(), and HAL_DCMI_IRQHandler().

◆ HAL_DCMI_FrameEventCallback()

__weak void HAL_DCMI_FrameEventCallback ( DCMI_HandleTypeDef * hdcmi)

#include <stm32f4xx_hal_dcmi.h>

Frame Event callback.

Parameters
hdcmipointer to a DCMI_HandleTypeDef structure that contains the configuration information for DCMI.
Return values
None

Definition at line 697 of file stm32f4xx_hal_dcmi.c.

References UNUSED.

Referenced by HAL_DCMI_Init(), and HAL_DCMI_IRQHandler().

◆ HAL_DCMI_VsyncEventCallback()

__weak void HAL_DCMI_VsyncEventCallback ( DCMI_HandleTypeDef * hdcmi)

#include <stm32f4xx_hal_dcmi.h>

VSYNC Event callback.

Parameters
hdcmipointer to a DCMI_HandleTypeDef structure that contains the configuration information for DCMI.
Return values
None

Definition at line 682 of file stm32f4xx_hal_dcmi.c.

References UNUSED.

Referenced by HAL_DCMI_Init(), and HAL_DCMI_IRQHandler().

◆ HAL_DCMI_VsyncCallback()

void HAL_DCMI_VsyncCallback ( DCMI_HandleTypeDef * hdcmi)

◆ HAL_DCMI_HsyncCallback()

void HAL_DCMI_HsyncCallback ( DCMI_HandleTypeDef * hdcmi)

◆ HAL_DCMI_IRQHandler()