/** ****************************************************************************** * @file stm32446e_eval_camera.h * @author MCD Application Team * @brief This file contains the common defines and functions prototypes for * the stm32446e_eval_camera.c driver. ****************************************************************************** * @attention * * Copyright (c) 2017 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file * in the root directory of this software component. * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** *//* ... *//* Define to prevent recursive inclusion -------------------------------------*/#ifndef__STM32446E_EVAL_CAMERA_H#define__STM32446E_EVAL_CAMERA_H#ifdef__cplusplusextern"C"{#endif/* Includes ------------------------------------------------------------------*//* Include Camera component Driver */#include"../Components/s5k5cag/s5k5cag.h"#include"../Components/ov5640/ov5640.h"/* Include IO Driver */#include"stm32446e_eval_io.h"/** @addtogroup BSP * @{ *//* ... *//** @addtogroup STM32446E_EVAL * @{ *//* ... *//** @addtogroup STM32446E_EVAL_CAMERA * @{ *//* ... *//** @defgroup STM32446E_EVAL_CAMERA_Exported_Types STM32446E EVAL CAMERA Exported Types * @{ *//* ... *//** * @brief Camera State structures definition *//* ... */typedefenum{CAMERA_OK=0x00,CAMERA_ERROR=0x01,CAMERA_TIMEOUT=0x02...}Camera_StatusTypeDef;#defineRESOLUTION_R160x120CAMERA_R160x120/* QQVGA Resolution */#defineRESOLUTION_R320x240CAMERA_R320x240/* QVGA Resolution */#defineRESOLUTION_R480x272CAMERA_R480x272/* 480x272 Resolution */#defineRESOLUTION_R640x480CAMERA_R640x480/* VGA Resolution *//** * @} *//* ... *//** @defgroup STM32446E_EVAL_CAMERA_Exported_Constants STM32446E EVAL CAMERA Exported Constants * @{ *//* ... *//** * @} *//* ... *//** @defgroup STM32446E_EVAL_CAMERA_Exported_Functions STM32446E EVAL CAMERA Exported Functions * @{ *//* ... */uint8_tBSP_CAMERA_Init(uint32_tResolution);uint8_tBSP_CAMERA_DeInit(void);voidBSP_CAMERA_ContinuousStart(uint8_t*buff);voidBSP_CAMERA_SnapshotStart(uint8_t*buff);voidBSP_CAMERA_Suspend(void);voidBSP_CAMERA_Resume(void);uint8_tBSP_CAMERA_Stop(void);voidBSP_CAMERA_HwReset(void);voidBSP_CAMERA_PwrDown(void);voidBSP_CAMERA_LineEventCallback(void);voidBSP_CAMERA_VsyncEventCallback(void);voidBSP_CAMERA_FrameEventCallback(void);voidBSP_CAMERA_ErrorCallback(void);/* Camera features functions prototype */voidBSP_CAMERA_ContrastBrightnessConfig(uint32_tcontrast_level,uint32_tbrightness_level);voidBSP_CAMERA_BlackWhiteConfig(uint32_tMode);voidBSP_CAMERA_ColorEffectConfig(uint32_tEffect);/* To be called in DCMI_IRQHandler function */voidBSP_CAMERA_IRQHandler(void);/* To be called in DMA2_Stream1_IRQHandler function */voidBSP_CAMERA_DMA_IRQHandler(void);/* These functions can be modified in case the current settings (e.g. DMA stream) need to be changed for specific application needs *//* ... */voidBSP_CAMERA_MspInit(DCMI_HandleTypeDef*hdcmi,void*Params);voidBSP_CAMERA_MspDeInit(DCMI_HandleTypeDef*hdcmi,void*Params);/** * @} *//* ... *//** * @} *//* ... *//** * @} *//* ... *//** * @} *//* ... */#ifdef__cplusplus}extern "C" { ... }#endif/* ... */#endif/* __STM32446E_EVAL_CAMERA_H */
Details
Show: from
Types: Columns:
All items filtered out
All items filtered out
This file uses the notable symbols shown below. Click anywhere in the file to view more details.