STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
Peripheral Control functions

Peripheral Control functions. More...

Collaboration diagram for Peripheral Control functions:

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_EnableCrop (DCMI_HandleTypeDef *hdcmi)
 Enable the Crop feature.
 
HAL_StatusTypeDef HAL_DCMI_DisableCrop (DCMI_HandleTypeDef *hdcmi)
 Disable the Crop feature.
 
HAL_StatusTypeDef HAL_DCMI_ConfigSyncUnmask (DCMI_HandleTypeDef *hdcmi, DCMI_SyncUnmaskTypeDef *SyncUnmask)
 Set embedded synchronization delimiters unmasks.
 

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_DCMI_ConfigCrop()

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

#include <stm32f4xx_hal_dcmi.h>

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 735 of file stm32f4xx_hal_dcmi.c.

References __HAL_LOCK, __HAL_UNLOCK, assert_param, DCMI_POSITION_CWSIZE_VLINE, DCMI_POSITION_CWSTRT_VST, HAL_DCMI_STATE_BUSY, HAL_DCMI_STATE_READY, HAL_OK, __DCMI_HandleTypeDef::Instance, IS_DCMI_WINDOW_COORDINATE, IS_DCMI_WINDOW_HEIGHT, and __DCMI_HandleTypeDef::State.

◆ HAL_DCMI_EnableCrop()

HAL_StatusTypeDef HAL_DCMI_EnableCrop ( DCMI_HandleTypeDef * hdcmi)

#include <stm32f4xx_hal_dcmi.h>

Enable the Crop feature.

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

Definition at line 794 of file stm32f4xx_hal_dcmi.c.

References __HAL_LOCK, __HAL_UNLOCK, HAL_DCMI_STATE_BUSY, HAL_DCMI_STATE_READY, HAL_OK, __DCMI_HandleTypeDef::Instance, and __DCMI_HandleTypeDef::State.

◆ HAL_DCMI_DisableCrop()

HAL_StatusTypeDef HAL_DCMI_DisableCrop ( DCMI_HandleTypeDef * hdcmi)

#include <stm32f4xx_hal_dcmi.h>

Disable the Crop feature.

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

Definition at line 768 of file stm32f4xx_hal_dcmi.c.

References __HAL_LOCK, __HAL_UNLOCK, HAL_DCMI_STATE_BUSY, HAL_DCMI_STATE_READY, HAL_OK, __DCMI_HandleTypeDef::Instance, and __DCMI_HandleTypeDef::State.

◆ HAL_DCMI_ConfigSyncUnmask()

HAL_StatusTypeDef HAL_DCMI_ConfigSyncUnmask ( DCMI_HandleTypeDef * hdcmi,
DCMI_SyncUnmaskTypeDef * SyncUnmask )

#include <stm32f4xx_hal_dcmi.h>

Set embedded synchronization delimiters unmasks.

Parameters
hdcmipointer to a DCMI_HandleTypeDef structure that contains the configuration information for DCMI.
SyncUnmaskpointer to a DCMI_SyncUnmaskTypeDef structure that contains the embedded synchronization delimiters unmasks.
Return values
HALstatus

Definition at line 822 of file stm32f4xx_hal_dcmi.c.

References __HAL_LOCK, __HAL_UNLOCK, DCMI_SyncUnmaskTypeDef::FrameEndUnmask, DCMI_SyncUnmaskTypeDef::FrameStartUnmask, HAL_DCMI_STATE_BUSY, HAL_DCMI_STATE_READY, HAL_OK, __DCMI_HandleTypeDef::Instance, DCMI_SyncUnmaskTypeDef::LineEndUnmask, DCMI_SyncUnmaskTypeDef::LineStartUnmask, and __DCMI_HandleTypeDef::State.