STM32F439xx HAL User Manual
|
DCMI HAL module driver This file provides firmware functions to manage the following functionalities of the Digital Camera Interface (DCMI) peripheral: + Initialization and de-initialization functions + IO operation functions + Peripheral Control functions + Peripheral State and Error functions. More...
#include "stm32f4xx_hal.h"
Go to the source code of this file.
Defines | |
#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. | |
__weak HAL_StatusTypeDef | HAL_DCMI_Init (DCMI_HandleTypeDef *hdcmi) |
Initializes the DCMI according to the specified parameters in the DCMI_InitTypeDef and create the associated handle. | |
HAL_StatusTypeDef | HAL_DCMI_DeInit (DCMI_HandleTypeDef *hdcmi) |
Deinitializes the DCMI peripheral registers to their default reset values. | |
__weak void | HAL_DCMI_MspInit (DCMI_HandleTypeDef *hdcmi) |
Initializes the DCMI MSP. | |
__weak void | HAL_DCMI_MspDeInit (DCMI_HandleTypeDef *hdcmi) |
DeInitializes the DCMI MSP. | |
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. | |
HAL_StatusTypeDef | HAL_DCMI_ConfigCrop (DCMI_HandleTypeDef *hdcmi, uint32_t X0, uint32_t Y0, uint32_t XSize, uint32_t YSize) |
Configure the DCMI CROP coordinate. | |
HAL_StatusTypeDef | HAL_DCMI_DisableCrop (DCMI_HandleTypeDef *hdcmi) |
Disable the Crop feature. | |
HAL_StatusTypeDef | HAL_DCMI_EnableCrop (DCMI_HandleTypeDef *hdcmi) |
Enable the Crop feature. | |
HAL_DCMI_StateTypeDef | HAL_DCMI_GetState (DCMI_HandleTypeDef *hdcmi) |
Return the DCMI state. | |
uint32_t | HAL_DCMI_GetError (DCMI_HandleTypeDef *hdcmi) |
Return the DCMI error code. |
DCMI HAL module driver This file provides firmware functions to manage the following functionalities of the Digital Camera Interface (DCMI) peripheral: + Initialization and de-initialization functions + IO operation functions + Peripheral Control functions + Peripheral State and Error functions.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of STMicroelectronics nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition in file stm32f4xx_hal_dcmi.c.