STM32F4 Standard Peripheral bibliotheek
1.0
ST Microelectronics bibliotheek documentatie voor de STM32F4 Standard Peripheral Library
|
This file contains all the functions prototypes for the DCMI firmware library. More...
#include "stm32f4xx.h"
Go to the source code of this file.
Data Structures | |
struct | DCMI_InitTypeDef |
DCMI Init structure definition. More... | |
struct | DCMI_CROPInitTypeDef |
DCMI CROP Init structure definition. More... | |
struct | DCMI_CodesInitTypeDef |
DCMI Embedded Synchronisation CODE Init structure definition. More... | |
Macros | |
#define | DCMI_CaptureMode_Continuous ((uint16_t)0x0000) |
#define | DCMI_CaptureMode_SnapShot ((uint16_t)0x0002) |
#define | IS_DCMI_CAPTURE_MODE(MODE) |
#define | DCMI_SynchroMode_Hardware ((uint16_t)0x0000) |
#define | DCMI_SynchroMode_Embedded ((uint16_t)0x0010) |
#define | IS_DCMI_SYNCHRO(MODE) |
#define | DCMI_PCKPolarity_Falling ((uint16_t)0x0000) |
#define | DCMI_PCKPolarity_Rising ((uint16_t)0x0020) |
#define | IS_DCMI_PCKPOLARITY(POLARITY) |
#define | DCMI_VSPolarity_Low ((uint16_t)0x0000) |
#define | DCMI_VSPolarity_High ((uint16_t)0x0080) |
#define | IS_DCMI_VSPOLARITY(POLARITY) |
#define | DCMI_HSPolarity_Low ((uint16_t)0x0000) |
#define | DCMI_HSPolarity_High ((uint16_t)0x0040) |
#define | IS_DCMI_HSPOLARITY(POLARITY) |
#define | DCMI_CaptureRate_All_Frame ((uint16_t)0x0000) |
#define | DCMI_CaptureRate_1of2_Frame ((uint16_t)0x0100) |
#define | DCMI_CaptureRate_1of4_Frame ((uint16_t)0x0200) |
#define | IS_DCMI_CAPTURE_RATE(RATE) |
#define | DCMI_ExtendedDataMode_8b ((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 | IS_DCMI_EXTENDED_DATA(DATA) |
#define | DCMI_IT_FRAME ((uint16_t)0x0001) |
#define | DCMI_IT_OVF ((uint16_t)0x0002) |
#define | DCMI_IT_ERR ((uint16_t)0x0004) |
#define | DCMI_IT_VSYNC ((uint16_t)0x0008) |
#define | DCMI_IT_LINE ((uint16_t)0x0010) |
#define | IS_DCMI_CONFIG_IT(IT) ((((IT) & (uint16_t)0xFFE0) == 0x0000) && ((IT) != 0x0000)) |
#define | IS_DCMI_GET_IT(IT) |
#define | DCMI_FLAG_HSYNC ((uint16_t)0x2001) |
DCMI SR register. | |
#define | DCMI_FLAG_VSYNC ((uint16_t)0x2002) |
#define | DCMI_FLAG_FNE ((uint16_t)0x2004) |
#define | DCMI_FLAG_FRAMERI ((uint16_t)0x0001) |
DCMI RISR register. | |
#define | DCMI_FLAG_OVFRI ((uint16_t)0x0002) |
#define | DCMI_FLAG_ERRRI ((uint16_t)0x0004) |
#define | DCMI_FLAG_VSYNCRI ((uint16_t)0x0008) |
#define | DCMI_FLAG_LINERI ((uint16_t)0x0010) |
#define | DCMI_FLAG_FRAMEMI ((uint16_t)0x1001) |
DCMI MISR register. | |
#define | DCMI_FLAG_OVFMI ((uint16_t)0x1002) |
#define | DCMI_FLAG_ERRMI ((uint16_t)0x1004) |
#define | DCMI_FLAG_VSYNCMI ((uint16_t)0x1008) |
#define | DCMI_FLAG_LINEMI ((uint16_t)0x1010) |
#define | IS_DCMI_GET_FLAG(FLAG) |
#define | IS_DCMI_CLEAR_FLAG(FLAG) ((((FLAG) & (uint16_t)0xFFE0) == 0x0000) && ((FLAG) != 0x0000)) |
Functions | |
void | DCMI_DeInit (void) |
Deinitializes the DCMI registers to their default reset values. More... | |
void | DCMI_Init (DCMI_InitTypeDef *DCMI_InitStruct) |
Initializes the DCMI according to the specified parameters in the DCMI_InitStruct. More... | |
void | DCMI_StructInit (DCMI_InitTypeDef *DCMI_InitStruct) |
Fills each DCMI_InitStruct member with its default value. 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_CROPCmd (FunctionalState NewState) |
Enables or disables the DCMI Crop feature. More... | |
void | DCMI_SetEmbeddedSynchroCodes (DCMI_CodesInitTypeDef *DCMI_CodesInitStruct) |
Sets the embedded synchronization codes. More... | |
void | DCMI_JPEGCmd (FunctionalState NewState) |
Enables or disables the DCMI JPEG format. More... | |
void | DCMI_Cmd (FunctionalState NewState) |
Enables or disables the DCMI interface. More... | |
void | DCMI_CaptureCmd (FunctionalState NewState) |
Enables or disables the DCMI Capture. More... | |
uint32_t | DCMI_ReadData (void) |
Reads the data stored in the DR register. More... | |
void | DCMI_ITConfig (uint16_t DCMI_IT, FunctionalState NewState) |
Enables or disables the DCMI interface interrupts. More... | |
FlagStatus | DCMI_GetFlagStatus (uint16_t DCMI_FLAG) |
Checks whether the DCMI interface flag is set or not. More... | |
void | DCMI_ClearFlag (uint16_t DCMI_FLAG) |
Clears the DCMI's pending flags. More... | |
ITStatus | DCMI_GetITStatus (uint16_t DCMI_IT) |
Checks whether the DCMI interrupt has occurred or not. More... | |
void | DCMI_ClearITPendingBit (uint16_t DCMI_IT) |
Clears the DCMI's interrupt pending bits. More... | |
This file contains all the functions prototypes for the DCMI firmware library.
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.