STM32H735xx HAL User Manual
|
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_IRQHandler (DCMI_HandleTypeDef *hdcmi) |
Handles DCMI interrupt request. | |
__weak void | HAL_DCMI_ErrorCallback (DCMI_HandleTypeDef *hdcmi) |
Error DCMI callback. | |
__weak void | HAL_DCMI_LineEventCallback (DCMI_HandleTypeDef *hdcmi) |
Line Event callback. | |
__weak void | HAL_DCMI_VsyncEventCallback (DCMI_HandleTypeDef *hdcmi) |
VSYNC Event callback. | |
__weak void | HAL_DCMI_FrameEventCallback (DCMI_HandleTypeDef *hdcmi) |
Frame Event callback. |
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.
void HAL_DCMI_ErrorCallback | ( | DCMI_HandleTypeDef * | hdcmi | ) |
Error DCMI callback.
hdcmi | pointer to a DCMI_HandleTypeDef structure that contains the configuration information for DCMI. |
None |
Definition at line 689 of file stm32h7xx_hal_dcmi.c.
Referenced by DCMI_DMAError(), HAL_DCMI_Init(), and HAL_DCMI_UnRegisterCallback().
void HAL_DCMI_FrameEventCallback | ( | DCMI_HandleTypeDef * | hdcmi | ) |
Frame Event callback.
hdcmi | pointer to a DCMI_HandleTypeDef structure that contains the configuration information for DCMI. |
None |
Definition at line 736 of file stm32h7xx_hal_dcmi.c.
Referenced by HAL_DCMI_Init(), HAL_DCMI_IRQHandler(), and HAL_DCMI_UnRegisterCallback().
void HAL_DCMI_IRQHandler | ( | DCMI_HandleTypeDef * | hdcmi | ) |
Handles DCMI interrupt request.
hdcmi | pointer to a DCMI_HandleTypeDef structure that contains the configuration information for the DCMI. |
None |
Definition at line 589 of file stm32h7xx_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, __DCMI_HandleTypeDef::FrameEventCallback, 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::LineEventCallback, __DCMI_HandleTypeDef::State, __DCMI_HandleTypeDef::VsyncEventCallback, and __DMA_HandleTypeDef::XferAbortCallback.
void HAL_DCMI_LineEventCallback | ( | DCMI_HandleTypeDef * | hdcmi | ) |
Line Event callback.
hdcmi | pointer to a DCMI_HandleTypeDef structure that contains the configuration information for DCMI. |
None |
Definition at line 705 of file stm32h7xx_hal_dcmi.c.
Referenced by HAL_DCMI_Init(), HAL_DCMI_IRQHandler(), and HAL_DCMI_UnRegisterCallback().
HAL_StatusTypeDef HAL_DCMI_Resume | ( | DCMI_HandleTypeDef * | hdcmi | ) |
Resume DCMI capture.
hdcmi | pointer to a DCMI_HandleTypeDef structure that contains the configuration information for DCMI. |
HAL | status |
Definition at line 563 of file stm32h7xx_hal_dcmi.c.
References HAL_DCMI_STATE_BUSY, HAL_DCMI_STATE_SUSPENDED, __DCMI_HandleTypeDef::Instance, and __DCMI_HandleTypeDef::State.
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.
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 357 of file stm32h7xx_hal_dcmi.c.
References __HAL_DCMI_ENABLE, assert_param, DCMI_DMAError(), DCMI_DMAXferCplt(), __DCMI_HandleTypeDef::DMA_Handle, __DCMI_HandleTypeDef::ErrorCode, HAL_DCMI_ERROR_DMA, HAL_DCMI_STATE_BUSY, HAL_DCMI_STATE_READY, HAL_DMA_Start_IT(), HAL_DMAEx_MultiBufferStart_IT(), __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 | ) |
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 462 of file stm32h7xx_hal_dcmi.c.
References __HAL_DCMI_DISABLE, __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_TIMEOUT_DCMI_STOP, __DCMI_HandleTypeDef::Instance, and __DCMI_HandleTypeDef::State.
HAL_StatusTypeDef HAL_DCMI_Suspend | ( | DCMI_HandleTypeDef * | hdcmi | ) |
Suspend DCMI capture.
hdcmi | pointer to a DCMI_HandleTypeDef structure that contains the configuration information for DCMI. |
HAL | status |
Definition at line 516 of file stm32h7xx_hal_dcmi.c.
References __DCMI_HandleTypeDef::ErrorCode, HAL_DCMI_ERROR_TIMEOUT, HAL_DCMI_STATE_BUSY, HAL_DCMI_STATE_READY, HAL_DCMI_STATE_SUSPENDED, HAL_TIMEOUT_DCMI_STOP, __DCMI_HandleTypeDef::Instance, and __DCMI_HandleTypeDef::State.
void HAL_DCMI_VsyncEventCallback | ( | DCMI_HandleTypeDef * | hdcmi | ) |
VSYNC Event callback.
hdcmi | pointer to a DCMI_HandleTypeDef structure that contains the configuration information for DCMI. |
None |
Definition at line 720 of file stm32h7xx_hal_dcmi.c.
Referenced by HAL_DCMI_Init(), HAL_DCMI_IRQHandler(), and HAL_DCMI_UnRegisterCallback().