DCMI driver modules. More...
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... | |
Modules | |
DCMI_Exported_Constants | |
DCMI_Private_Functions | |
Functions | |
void | DCMI_DeInit (void) |
Deinitializes the DCMI registers to their default reset values. | |
void | DCMI_Init (DCMI_InitTypeDef *DCMI_InitStruct) |
Initializes the DCMI according to the specified parameters in the DCMI_InitStruct. | |
void | DCMI_StructInit (DCMI_InitTypeDef *DCMI_InitStruct) |
Fills each DCMI_InitStruct member with its default value. | |
void | DCMI_CROPConfig (DCMI_CROPInitTypeDef *DCMI_CROPInitStruct) |
Initializes the DCMI peripheral CROP mode according to the specified parameters in the DCMI_CROPInitStruct. | |
void | DCMI_CROPCmd (FunctionalState NewState) |
Enables or disables the DCMI Crop feature. | |
void | DCMI_SetEmbeddedSynchroCodes (DCMI_CodesInitTypeDef *DCMI_CodesInitStruct) |
Sets the embedded synchronization codes. | |
void | DCMI_JPEGCmd (FunctionalState NewState) |
Enables or disables the DCMI JPEG format. | |
void | DCMI_Cmd (FunctionalState NewState) |
Enables or disables the DCMI interface. | |
void | DCMI_CaptureCmd (FunctionalState NewState) |
Enables or disables the DCMI Capture. | |
uint32_t | DCMI_ReadData (void) |
Reads the data stored in the DR register. | |
void | DCMI_ITConfig (uint16_t DCMI_IT, FunctionalState NewState) |
Enables or disables the DCMI interface interrupts. | |
FlagStatus | DCMI_GetFlagStatus (uint16_t DCMI_FLAG) |
Checks whether the DCMI interface flag is set or not. | |
void | DCMI_ClearFlag (uint16_t DCMI_FLAG) |
Clears the DCMI's pending flags. | |
ITStatus | DCMI_GetITStatus (uint16_t DCMI_IT) |
Checks whether the DCMI interrupt has occurred or not. | |
void | DCMI_ClearITPendingBit (uint16_t DCMI_IT) |
Clears the DCMI's interrupt pending bits. |
DCMI driver modules.
void DCMI_CaptureCmd | ( | FunctionalState | NewState | ) |
Enables or disables the DCMI Capture.
NewState,: | new state of the DCMI capture. This parameter can be: ENABLE or DISABLE. |
None |
void DCMI_ClearFlag | ( | uint16_t | DCMI_FLAG | ) |
Clears the DCMI's pending flags.
DCMI_FLAG,: | specifies the flag to clear. This parameter can be any combination of the following values:
|
None |
void DCMI_ClearITPendingBit | ( | uint16_t | DCMI_IT | ) |
Clears the DCMI's interrupt pending bits.
DCMI_IT,: | specifies the DCMI interrupt pending bit to clear. This parameter can be any combination of the following values:
|
None |
void DCMI_Cmd | ( | FunctionalState | NewState | ) |
Enables or disables the DCMI interface.
NewState,: | new state of the DCMI interface. This parameter can be: ENABLE or DISABLE. |
None |
void DCMI_CROPCmd | ( | FunctionalState | NewState | ) |
Enables or disables the DCMI Crop feature.
NewState,: | new state of the DCMI Crop feature. This parameter can be: ENABLE or DISABLE. |
None |
void DCMI_CROPConfig | ( | DCMI_CROPInitTypeDef * | DCMI_CROPInitStruct | ) |
Initializes the DCMI peripheral CROP mode according to the specified parameters in the DCMI_CROPInitStruct.
DCMI_CROPInitStruct,: | pointer to a DCMI_CROPInitTypeDef structure that contains the configuration information for the DCMI peripheral CROP mode. |
None |
void DCMI_DeInit | ( | void | ) |
Deinitializes the DCMI registers to their default reset values.
None |
None |
FlagStatus DCMI_GetFlagStatus | ( | uint16_t | DCMI_FLAG | ) |
Checks whether the DCMI interface flag is set or not.
DCMI_FLAG,: | specifies the flag to check. This parameter can be one of the following values:
|
The | new state of DCMI_FLAG (SET or RESET). |
ITStatus DCMI_GetITStatus | ( | uint16_t | DCMI_IT | ) |
Checks whether the DCMI interrupt has occurred or not.
DCMI_IT,: | specifies the DCMI interrupt source to check. This parameter can be one of the following values:
|
The | new state of DCMI_IT (SET or RESET). |
void DCMI_Init | ( | DCMI_InitTypeDef * | DCMI_InitStruct | ) |
Initializes the DCMI according to the specified parameters in the DCMI_InitStruct.
DCMI_InitStruct,: | pointer to a DCMI_InitTypeDef structure that contains the configuration information for the DCMI. |
None |
void DCMI_ITConfig | ( | uint16_t | DCMI_IT, | |
FunctionalState | NewState | |||
) |
Enables or disables the DCMI interface interrupts.
DCMI_IT,: | specifies the DCMI interrupt sources to be enabled or disabled. This parameter can be any combination of the following values:
| |
NewState,: | new state of the specified DCMI interrupts. This parameter can be: ENABLE or DISABLE. |
None |
void DCMI_JPEGCmd | ( | FunctionalState | NewState | ) |
Enables or disables the DCMI JPEG format.
NewState,: | new state of the DCMI JPEG format. This parameter can be: ENABLE or DISABLE. |
None |
uint32_t DCMI_ReadData | ( | void | ) |
Reads the data stored in the DR register.
None |
Data | register value |
void DCMI_SetEmbeddedSynchroCodes | ( | DCMI_CodesInitTypeDef * | DCMI_CodesInitStruct | ) |
Sets the embedded synchronization codes.
DCMI_CodesInitTypeDef,: | pointer to a DCMI_CodesInitTypeDef structure that contains the embedded synchronization codes for the DCMI peripheral. |
None |
void DCMI_StructInit | ( | DCMI_InitTypeDef * | DCMI_InitStruct | ) |
Fills each DCMI_InitStruct member with its default value.
DCMI_InitStruct | : pointer to a DCMI_InitTypeDef structure which will be initialized. |
None |