Initialization and Configuration functions.
More...
Initialization and Configuration functions.
===============================================================================
Initialization and Configuration functions
===============================================================================
void DCMI_CROPCmd |
( |
FunctionalState |
NewState | ) |
|
Enables or disables the DCMI Crop feature.
- Note
- This function should be called before to enable and start the DCMI interface.
- Parameters
-
NewState,: | new state of the DCMI Crop feature. This parameter can be: ENABLE or DISABLE. |
- Return values
-
Initializes the DCMI peripheral CROP mode according to the specified parameters in the DCMI_CROPInitStruct.
- Note
- This function should be called before to enable and start the DCMI interface.
- Parameters
-
DCMI_CROPInitStruct,: | pointer to a DCMI_CROPInitTypeDef structure that contains the configuration information for the DCMI peripheral CROP mode. |
- Return values
-
void DCMI_DeInit |
( |
void |
| ) |
|
Deinitializes the DCMI registers to their default reset values.
- Parameters
-
- Return values
-
Initializes the DCMI according to the specified parameters in the DCMI_InitStruct.
- Parameters
-
DCMI_InitStruct,: | pointer to a DCMI_InitTypeDef structure that contains the configuration information for the DCMI. |
- Return values
-
void DCMI_JPEGCmd |
( |
FunctionalState |
NewState | ) |
|
Enables or disables the DCMI JPEG format.
- Note
- The Crop and Embedded Synchronization features cannot be used in this mode.
- Parameters
-
NewState,: | new state of the DCMI JPEG format. This parameter can be: ENABLE or DISABLE. |
- Return values
-
Sets the embedded synchronization codes.
- Parameters
-
- Return values
-
Fills each DCMI_InitStruct member with its default value.
- Parameters
-
DCMI_InitStruct | : pointer to a DCMI_InitTypeDef structure which will be initialized. |
- Return values
-