STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
IO operation functions. More...
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. | |
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.
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.
hdcmi | pointer to a DCMI_HandleTypeDef structure that contains the configuration information for DCMI. |
DCMI_Mode | DCMI capture mode snapshot or continuous grab. |
pData | The destination memory Buffer address (LCD Frame buffer). |
Length | The length of capture to be transferred. |
HAL | status |
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_StatusTypeDef HAL_DCMI_Stop | ( | DCMI_HandleTypeDef * | hdcmi | ) |
#include <stm32f4xx_hal_dcmi.h>
Disable DCMI DMA request and Disable DCMI capture.
hdcmi | pointer to a DCMI_HandleTypeDef structure that contains the configuration information for DCMI. |
HAL | status |
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_StatusTypeDef HAL_DCMI_Suspend | ( | DCMI_HandleTypeDef * | hdcmi | ) |
#include <stm32f4xx_hal_dcmi.h>
Suspend DCMI capture
hdcmi | pointer to a DCMI_HandleTypeDef structure that contains the configuration information for DCMI. |
HAL | status |
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_StatusTypeDef HAL_DCMI_Resume | ( | DCMI_HandleTypeDef * | hdcmi | ) |
#include <stm32f4xx_hal_dcmi.h>
Resume DCMI capture
hdcmi | pointer to a DCMI_HandleTypeDef structure that contains the configuration information for DCMI. |
HAL | status |
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.
__weak void HAL_DCMI_ErrorCallback | ( | DCMI_HandleTypeDef * | hdcmi | ) |
#include <stm32f4xx_hal_dcmi.h>
Error DCMI callback.
hdcmi | pointer to a DCMI_HandleTypeDef structure that contains the configuration information for DCMI. |
None |
Definition at line 652 of file stm32f4xx_hal_dcmi.c.
References UNUSED.
Referenced by DCMI_DMAError(), and HAL_DCMI_Init().
__weak void HAL_DCMI_LineEventCallback | ( | DCMI_HandleTypeDef * | hdcmi | ) |
#include <stm32f4xx_hal_dcmi.h>
Line Event callback.
hdcmi | pointer to a DCMI_HandleTypeDef structure that contains the configuration information for DCMI. |
None |
Definition at line 667 of file stm32f4xx_hal_dcmi.c.
References UNUSED.
Referenced by HAL_DCMI_Init(), and HAL_DCMI_IRQHandler().
__weak void HAL_DCMI_FrameEventCallback | ( | DCMI_HandleTypeDef * | hdcmi | ) |
#include <stm32f4xx_hal_dcmi.h>
Frame Event callback.
hdcmi | pointer to a DCMI_HandleTypeDef structure that contains the configuration information for DCMI. |
None |
Definition at line 697 of file stm32f4xx_hal_dcmi.c.
References UNUSED.
Referenced by HAL_DCMI_Init(), and HAL_DCMI_IRQHandler().
__weak void HAL_DCMI_VsyncEventCallback | ( | DCMI_HandleTypeDef * | hdcmi | ) |
#include <stm32f4xx_hal_dcmi.h>
VSYNC Event callback.
hdcmi | pointer to a DCMI_HandleTypeDef structure that contains the configuration information for DCMI. |
None |
Definition at line 682 of file stm32f4xx_hal_dcmi.c.
References UNUSED.
Referenced by HAL_DCMI_Init(), and HAL_DCMI_IRQHandler().
void HAL_DCMI_VsyncCallback | ( | DCMI_HandleTypeDef * | hdcmi | ) |
#include <stm32f4xx_hal_dcmi.h>
void HAL_DCMI_HsyncCallback | ( | DCMI_HandleTypeDef * | hdcmi | ) |
#include <stm32f4xx_hal_dcmi.h>
void HAL_DCMI_IRQHandler | ( | DCMI_HandleTypeDef * | hdcmi | ) |
#include <stm32f4xx_hal_dcmi.h>
Handles DCMI interrupt request.
hdcmi | pointer to a DCMI_HandleTypeDef structure that contains the configuration information for the DCMI. |
None |
Definition at line 555 of file stm32f4xx_hal_dcmi.c.
References __HAL_DCMI_CLEAR_FLAG, __HAL_DCMI_DISABLE_IT, DCMI_DMAError(), DCMI_FLAG_ERRRI, DCMI_FLAG_FRAMERI, DCMI_FLAG_LINERI, DCMI_FLAG_OVRRI, DCMI_FLAG_VSYNCRI, DCMI_IT_ERR, DCMI_IT_FRAME, DCMI_IT_LINE, DCMI_IT_OVR, DCMI_IT_VSYNC, DCMI_MODE_SNAPSHOT, __DCMI_HandleTypeDef::DMA_Handle, __DCMI_HandleTypeDef::ErrorCode, HAL_DCMI_ERROR_OVR, HAL_DCMI_ERROR_SYNC, HAL_DCMI_FrameEventCallback(), HAL_DCMI_LineEventCallback(), HAL_DCMI_STATE_ERROR, HAL_DCMI_VsyncEventCallback(), HAL_DMA_Abort_IT(), __DCMI_HandleTypeDef::Instance, __DCMI_HandleTypeDef::State, and __DMA_HandleTypeDef::XferAbortCallback.