STM324x9I_EVAL BSP User Manual: stm324x9i_eval_camera.c File Reference

STM32429I/STM32439I/STM32469I/STM32479I EVAL BSP Drivers

stm324x9i_eval_camera.c File Reference

This file includes the driver for Camera modules mounted on STM324x9I-EVAL evaluation board. More...

Go to the source code of this file.

Functions

static void DCMI_MspInit (void)
 Initializes the DCMI MSP.
static uint32_t GetSize (uint32_t resolution)
 Get the capture size.
uint8_t BSP_CAMERA_Init (uint32_t Resolution)
 Initializes the camera.
void BSP_CAMERA_ContinuousStart (uint8_t *buff)
 Starts the camera capture in continuous mode.
void BSP_CAMERA_SnapshotStart (uint8_t *buff)
 Starts the camera capture in snapshot mode.
void BSP_CAMERA_Suspend (void)
 Suspend the CAMERA capture.
void BSP_CAMERA_Resume (void)
 Resume the CAMERA capture.
uint8_t BSP_CAMERA_Stop (void)
 Stop the CAMERA capture.
void BSP_CAMERA_ContrastBrightnessConfig (uint32_t contrast_level, uint32_t brightness_level)
 Configures the camera contrast and brightness.
void BSP_CAMERA_BlackWhiteConfig (uint32_t Mode)
 Configures the camera white balance.
void BSP_CAMERA_ColorEffectConfig (uint32_t Effect)
 Configures the camera color effect.
void BSP_CAMERA_IRQHandler (void)
 Handles DCMI interrupt request.
void BSP_CAMERA_DMA_IRQHandler (void)
 Handles DMA interrupt request.
void HAL_DCMI_LineEventCallback (DCMI_HandleTypeDef *hdcmi)
 Line event callback.
__weak void BSP_CAMERA_LineEventCallback (void)
 Line Event callback.
void HAL_DCMI_VsyncEventCallback (DCMI_HandleTypeDef *hdcmi)
 VSYNC event callback.
__weak void BSP_CAMERA_VsyncEventCallback (void)
 VSYNC Event callback.
void HAL_DCMI_FrameEventCallback (DCMI_HandleTypeDef *hdcmi)
 Frame event callback.
__weak void BSP_CAMERA_FrameEventCallback (void)
 Frame Event callback.
void HAL_DCMI_ErrorCallback (DCMI_HandleTypeDef *hdcmi)
 Error callback.
__weak void BSP_CAMERA_ErrorCallback (void)
 Error callback.

Variables

static DCMI_HandleTypeDef hdcmi_eval
CAMERA_DrvTypeDef * camera_drv
uint32_t current_resolution

Detailed Description

This file includes the driver for Camera modules mounted on STM324x9I-EVAL evaluation board.

Author:
MCD Application Team
Version:
V2.2.2
Date:
13-January-2016
Attention:

© COPYRIGHT(c) 2015 STMicroelectronics

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 stm324x9i_eval_camera.c.

Generated on Wed Jan 13 2016 15:52:54 for STM324x9I_EVAL BSP User Manual by   doxygen 1.7.6.1