Classes | Macros | Functions
stm32f4xx_dcmi.h File Reference

This file contains all the functions prototypes for the DCMI firmware library. More...

#include "stm32f4xx.h"
Include dependency graph for stm32f4xx_dcmi.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  DCMI_CodesInitTypeDef
 DCMI Embedded Synchronisation CODE Init structure definition. More...
 
struct  DCMI_CROPInitTypeDef
 DCMI CROP Init structure definition. More...
 
struct  DCMI_InitTypeDef
 DCMI Init structure definition. More...
 

Macros

#define DCMI_CaptureMode_Continuous   ((uint16_t)0x0000)
 
#define DCMI_CaptureMode_SnapShot   ((uint16_t)0x0002)
 
#define DCMI_CaptureRate_1of2_Frame   ((uint16_t)0x0100)
 
#define DCMI_CaptureRate_1of4_Frame   ((uint16_t)0x0200)
 
#define DCMI_CaptureRate_All_Frame   ((uint16_t)0x0000)
 
#define DCMI_ExtendedDataMode_10b   ((uint16_t)0x0400)
 
#define DCMI_ExtendedDataMode_12b   ((uint16_t)0x0800)
 
#define DCMI_ExtendedDataMode_14b   ((uint16_t)0x0C00)
 
#define DCMI_ExtendedDataMode_8b   ((uint16_t)0x0000)
 
#define DCMI_FLAG_ERRMI   ((uint16_t)0x1004)
 
#define DCMI_FLAG_ERRRI   ((uint16_t)0x0004)
 
#define DCMI_FLAG_FNE   ((uint16_t)0x2004)
 
#define DCMI_FLAG_FRAMEMI   ((uint16_t)0x1001)
 DCMI MISR register. More...
 
#define DCMI_FLAG_FRAMERI   ((uint16_t)0x0001)
 DCMI RISR register. More...
 
#define DCMI_FLAG_HSYNC   ((uint16_t)0x2001)
 DCMI SR register. More...
 
#define DCMI_FLAG_LINEMI   ((uint16_t)0x1010)
 
#define DCMI_FLAG_LINERI   ((uint16_t)0x0010)
 
#define DCMI_FLAG_OVFMI   ((uint16_t)0x1002)
 
#define DCMI_FLAG_OVFRI   ((uint16_t)0x0002)
 
#define DCMI_FLAG_VSYNC   ((uint16_t)0x2002)
 
#define DCMI_FLAG_VSYNCMI   ((uint16_t)0x1008)
 
#define DCMI_FLAG_VSYNCRI   ((uint16_t)0x0008)
 
#define DCMI_HSPolarity_High   ((uint16_t)0x0040)
 
#define DCMI_HSPolarity_Low   ((uint16_t)0x0000)
 
#define DCMI_IT_ERR   ((uint16_t)0x0004)
 
#define DCMI_IT_FRAME   ((uint16_t)0x0001)
 
#define DCMI_IT_LINE   ((uint16_t)0x0010)
 
#define DCMI_IT_OVF   ((uint16_t)0x0002)
 
#define DCMI_IT_VSYNC   ((uint16_t)0x0008)
 
#define DCMI_PCKPolarity_Falling   ((uint16_t)0x0000)
 
#define DCMI_PCKPolarity_Rising   ((uint16_t)0x0020)
 
#define DCMI_SynchroMode_Embedded   ((uint16_t)0x0010)
 
#define DCMI_SynchroMode_Hardware   ((uint16_t)0x0000)
 
#define DCMI_VSPolarity_High   ((uint16_t)0x0080)
 
#define DCMI_VSPolarity_Low   ((uint16_t)0x0000)
 
#define IS_DCMI_CAPTURE_MODE(MODE)
 
#define IS_DCMI_CAPTURE_RATE(RATE)
 
#define IS_DCMI_CLEAR_FLAG(FLAG)   ((((FLAG) & (uint16_t)0xFFE0) == 0x0000) && ((FLAG) != 0x0000))
 
#define IS_DCMI_CONFIG_IT(IT)   ((((IT) & (uint16_t)0xFFE0) == 0x0000) && ((IT) != 0x0000))
 
#define IS_DCMI_EXTENDED_DATA(DATA)
 
#define IS_DCMI_GET_FLAG(FLAG)
 
#define IS_DCMI_GET_IT(IT)
 
#define IS_DCMI_HSPOLARITY(POLARITY)
 
#define IS_DCMI_PCKPOLARITY(POLARITY)
 
#define IS_DCMI_SYNCHRO(MODE)
 
#define IS_DCMI_VSPOLARITY(POLARITY)
 

Functions

void DCMI_CaptureCmd (FunctionalState NewState)
 Enables or disables the DCMI Capture. More...
 
void DCMI_ClearFlag (uint16_t DCMI_FLAG)
 Clears the DCMI's pending flags. More...
 
void DCMI_ClearITPendingBit (uint16_t DCMI_IT)
 Clears the DCMI's interrupt pending bits. More...
 
void DCMI_Cmd (FunctionalState NewState)
 Enables or disables the DCMI interface. More...
 
void DCMI_CROPCmd (FunctionalState NewState)
 Enables or disables the DCMI Crop feature. More...
 
void DCMI_CROPConfig (DCMI_CROPInitTypeDef *DCMI_CROPInitStruct)
 Initializes the DCMI peripheral CROP mode according to the specified parameters in the DCMI_CROPInitStruct. More...
 
void DCMI_DeInit (void)
 Deinitializes the DCMI registers to their default reset values. More...
 
FlagStatus DCMI_GetFlagStatus (uint16_t DCMI_FLAG)
 Checks whether the DCMI interface flag is set or not. More...
 
ITStatus DCMI_GetITStatus (uint16_t DCMI_IT)
 Checks whether the DCMI interrupt has occurred or not. More...
 
void DCMI_Init (DCMI_InitTypeDef *DCMI_InitStruct)
 Initializes the DCMI according to the specified parameters in the DCMI_InitStruct. More...
 
void DCMI_ITConfig (uint16_t DCMI_IT, FunctionalState NewState)
 Enables or disables the DCMI interface interrupts. More...
 
void DCMI_JPEGCmd (FunctionalState NewState)
 Enables or disables the DCMI JPEG format. More...
 
uint32_t DCMI_ReadData (void)
 Reads the data stored in the DR register. More...
 
void DCMI_SetEmbeddedSynchroCodes (DCMI_CodesInitTypeDef *DCMI_CodesInitStruct)
 Sets the embedded synchronization codes. More...
 
void DCMI_StructInit (DCMI_InitTypeDef *DCMI_InitStruct)
 Fills each DCMI_InitStruct member with its default value. More...
 

Detailed Description

This file contains all the functions prototypes for the DCMI firmware library.

Author
MCD Application Team
Version
V1.1.0
Date
11-January-2013
Attention

© COPYRIGHT 2013 STMicroelectronics

Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:

   http://www.st.com/software_license_agreement_liberty_v2

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file stm32f4xx_dcmi.h.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Oct 24 2019 03:17:21