STM32F439xx HAL User Manual
Functions
Peripheral Control functions
DCMI Exported Functions

Peripheral Control functions. More...

Functions

HAL_StatusTypeDef HAL_DCMI_ConfigCrop (DCMI_HandleTypeDef *hdcmi, uint32_t X0, uint32_t Y0, uint32_t XSize, uint32_t YSize)
 Configure the DCMI CROP coordinate.
HAL_StatusTypeDef HAL_DCMI_DisableCrop (DCMI_HandleTypeDef *hdcmi)
 Disable the Crop feature.
HAL_StatusTypeDef HAL_DCMI_EnableCrop (DCMI_HandleTypeDef *hdcmi)
 Enable the Crop feature.

Detailed Description

Peripheral Control functions.

 ===============================================================================
                    ##### Peripheral Control functions #####
 ===============================================================================
[..]  This section provides functions allowing to:
      (+) Configure the CROP feature.
      (+) Enable/Disable the CROP feature.


Function Documentation

HAL_StatusTypeDef HAL_DCMI_ConfigCrop ( DCMI_HandleTypeDef hdcmi,
uint32_t  X0,
uint32_t  Y0,
uint32_t  XSize,
uint32_t  YSize 
)

Configure the DCMI CROP coordinate.

Parameters:
hdcmipointer to a DCMI_HandleTypeDef structure that contains the configuration information for DCMI.
X0DCMI window X offset
Y0DCMI window Y offset
XSizeDCMI Pixel per line
YSizeDCMI Line number
Return values:
HALstatus

Definition at line 659 of file stm32f4xx_hal_dcmi.c.

References assert_param, DCMI_POSITION_CWSIZE_VLINE, DCMI_POSITION_CWSTRT_VST, HAL_DCMI_STATE_BUSY, HAL_DCMI_STATE_READY, DCMI_HandleTypeDef::Instance, IS_DCMI_WINDOW_COORDINATE, IS_DCMI_WINDOW_HEIGHT, and DCMI_HandleTypeDef::State.

HAL_StatusTypeDef HAL_DCMI_DisableCrop ( DCMI_HandleTypeDef hdcmi)

Disable the Crop feature.

Parameters:
hdcmipointer to a DCMI_HandleTypeDef structure that contains the configuration information for DCMI.
Return values:
HALstatus

Definition at line 692 of file stm32f4xx_hal_dcmi.c.

References HAL_DCMI_STATE_BUSY, HAL_DCMI_STATE_READY, DCMI_HandleTypeDef::Instance, and DCMI_HandleTypeDef::State.

HAL_StatusTypeDef HAL_DCMI_EnableCrop ( DCMI_HandleTypeDef hdcmi)

Enable the Crop feature.

Parameters:
hdcmipointer to a DCMI_HandleTypeDef structure that contains the configuration information for DCMI.
Return values:
HALstatus

Definition at line 718 of file stm32f4xx_hal_dcmi.c.

References HAL_DCMI_STATE_BUSY, HAL_DCMI_STATE_READY, DCMI_HandleTypeDef::Instance, and DCMI_HandleTypeDef::State.