STM32769I_EVAL BSP User Manual
|
Functions | |
uint8_t | BSP_CAMERA_Init (uint32_t Resolution) |
Initializes the camera. | |
uint8_t | BSP_CAMERA_DeInit (void) |
DeInitializes the camera. | |
void | BSP_CAMERA_ContinuousStart (uint8_t *buff) |
Starts the camera capture in continuous mode. | |
void | BSP_CAMERA_SnapshotStart (uint8_t *buff) |
Starts the camera capture in snapshot mode. | |
void | BSP_CAMERA_Suspend (void) |
Suspend the CAMERA capture. | |
void | BSP_CAMERA_Resume (void) |
Resume the CAMERA capture. | |
uint8_t | BSP_CAMERA_Stop (void) |
Stop the CAMERA capture. | |
void | BSP_CAMERA_HwReset (void) |
CANERA hardware reset. | |
void | BSP_CAMERA_PwrDown (void) |
CAMERA power down. | |
void | BSP_CAMERA_LineEventCallback (void) |
Line Event callback. | |
void | BSP_CAMERA_VsyncEventCallback (void) |
VSYNC Event callback. | |
void | BSP_CAMERA_FrameEventCallback (void) |
Frame Event callback. | |
void | BSP_CAMERA_ErrorCallback (void) |
Error callback. | |
void | BSP_CAMERA_ContrastBrightnessConfig (uint32_t contrast_level, uint32_t brightness_level) |
Configures the camera contrast and brightness. | |
void | BSP_CAMERA_BlackWhiteConfig (uint32_t Mode) |
Configures the camera white balance. | |
void | BSP_CAMERA_ColorEffectConfig (uint32_t Effect) |
Configures the camera color effect. | |
void | BSP_CAMERA_MspInit (DCMI_HandleTypeDef *hdcmi, void *Params) |
Initializes the DCMI MSP. | |
void | BSP_CAMERA_MspDeInit (DCMI_HandleTypeDef *hdcmi, void *Params) |
DeInitializes the DCMI MSP. | |
uint8_t | BSP_CAMERA_SetRotation (uint32_t rotation) |
Set Camera image rotation on LCD Displayed frame buffer. | |
uint32_t | BSP_CAMERA_GetRotation (void) |
Get Camera image rotation on LCD Displayed frame buffer. |
Function Documentation
void BSP_CAMERA_BlackWhiteConfig | ( | uint32_t | Mode | ) |
Configures the camera white balance.
- Parameters:
-
Mode,: black_white mode This parameter can be one of the following values: - CAMERA_BLACK_WHITE_BW
- CAMERA_BLACK_WHITE_NEGATIVE
- CAMERA_BLACK_WHITE_BW_NEGATIVE
- CAMERA_BLACK_WHITE_NORMAL
Definition at line 396 of file stm32f769i_eval_camera.c.
References CameraDrv, and CameraHwAddress.
void BSP_CAMERA_ColorEffectConfig | ( | uint32_t | Effect | ) |
Configures the camera color effect.
- Parameters:
-
Effect,: Color effect This parameter can be one of the following values: - CAMERA_COLOR_EFFECT_NONE
- CAMERA_COLOR_EFFECT_BLUE
- CAMERA_COLOR_EFFECT_GREEN
- CAMERA_COLOR_EFFECT_RED
- CAMERA_COLOR_EFFECT_ANTIQUE
Definition at line 414 of file stm32f769i_eval_camera.c.
References CameraDrv, and CameraHwAddress.
void BSP_CAMERA_ContinuousStart | ( | uint8_t * | buff | ) |
Starts the camera capture in continuous mode.
- Parameters:
-
buff,: pointer to the camera output buffer
Definition at line 265 of file stm32f769i_eval_camera.c.
References CameraCurrentResolution, GetSize(), and hDcmiEval.
void BSP_CAMERA_ContrastBrightnessConfig | ( | uint32_t | contrast_level, |
uint32_t | brightness_level | ||
) |
Configures the camera contrast and brightness.
- Parameters:
-
contrast_level,: Contrast level This parameter can be one of the following values: - CAMERA_CONTRAST_LEVEL4: for contrast +2
- CAMERA_CONTRAST_LEVEL3: for contrast +1
- CAMERA_CONTRAST_LEVEL2: for contrast 0
- CAMERA_CONTRAST_LEVEL1: for contrast -1
- CAMERA_CONTRAST_LEVEL0: for contrast -2
brightness_level,: Contrast level This parameter can be one of the following values: - CAMERA_BRIGHTNESS_LEVEL4: for brightness +2
- CAMERA_BRIGHTNESS_LEVEL3: for brightness +1
- CAMERA_BRIGHTNESS_LEVEL2: for brightness 0
- CAMERA_BRIGHTNESS_LEVEL1: for brightness -1
- CAMERA_BRIGHTNESS_LEVEL0: for brightness -2
Definition at line 379 of file stm32f769i_eval_camera.c.
References CameraDrv, and CameraHwAddress.
uint8_t BSP_CAMERA_DeInit | ( | void | ) |
DeInitializes the camera.
- Return values:
-
Camera status
Definition at line 252 of file stm32f769i_eval_camera.c.
References BSP_CAMERA_MspDeInit(), CAMERA_OK, and hDcmiEval.
void BSP_CAMERA_ErrorCallback | ( | void | ) |
Error callback.
Definition at line 650 of file stm32f769i_eval_camera.c.
Referenced by HAL_DCMI_ErrorCallback().
void BSP_CAMERA_FrameEventCallback | ( | void | ) |
Frame Event callback.
Definition at line 631 of file stm32f769i_eval_camera.c.
Referenced by HAL_DCMI_FrameEventCallback().
uint32_t BSP_CAMERA_GetRotation | ( | void | ) |
Get Camera image rotation on LCD Displayed frame buffer.
- Return values:
-
rotation : uint32_t value of type Camera_ImageRotationTypeDef
Definition at line 177 of file stm32f769i_eval_camera.c.
References CameraRotation.
void BSP_CAMERA_HwReset | ( | void | ) |
CANERA hardware reset.
Definition at line 321 of file stm32f769i_eval_camera.c.
References BSP_IO_ConfigPin(), BSP_IO_PIN_RESET, BSP_IO_PIN_SET, and BSP_IO_WritePin().
Referenced by BSP_CAMERA_Init().
uint8_t BSP_CAMERA_Init | ( | uint32_t | Resolution | ) |
Initializes the camera.
- Parameters:
-
Resolution : camera sensor requested resolution (x, y) : standard resolution naming QQVGA, QVGA, VGA ...
- Return values:
-
Camera status
Definition at line 188 of file stm32f769i_eval_camera.c.
References BSP_CAMERA_HwReset(), BSP_CAMERA_MspInit(), BSP_IO_Init(), BSP_IO_PIN_SET, BSP_IO_ReadPin(), CAMERA_ERROR, CAMERA_I2C_ADDRESS, CAMERA_NOT_DETECTED, CAMERA_NOT_SUPPORTED, CAMERA_OK, CameraCurrentResolution, CameraDrv, CameraHwAddress, and hDcmiEval.
void BSP_CAMERA_LineEventCallback | ( | void | ) |
Line Event callback.
Definition at line 593 of file stm32f769i_eval_camera.c.
Referenced by HAL_DCMI_LineEventCallback().
void BSP_CAMERA_MspDeInit | ( | DCMI_HandleTypeDef * | hdcmi, |
void * | Params | ||
) |
DeInitializes the DCMI MSP.
- Parameters:
-
hdcmi,: HDMI handle Params : pointer on additional configuration parameters, can be NULL.
Definition at line 563 of file stm32f769i_eval_camera.c.
Referenced by BSP_CAMERA_DeInit().
void BSP_CAMERA_MspInit | ( | DCMI_HandleTypeDef * | hdcmi, |
void * | Params | ||
) |
Initializes the DCMI MSP.
- Parameters:
-
hdcmi,: HDMI handle Params : pointer on additional configuration parameters, can be NULL.
Definition at line 468 of file stm32f769i_eval_camera.c.
Referenced by BSP_CAMERA_Init().
void BSP_CAMERA_PwrDown | ( | void | ) |
CAMERA power down.
Definition at line 349 of file stm32f769i_eval_camera.c.
References BSP_IO_ConfigPin(), BSP_IO_PIN_RESET, and BSP_IO_WritePin().
Referenced by BSP_CAMERA_Stop().
void BSP_CAMERA_Resume | ( | void | ) |
Resume the CAMERA capture.
Definition at line 293 of file stm32f769i_eval_camera.c.
References hDcmiEval.
uint8_t BSP_CAMERA_SetRotation | ( | uint32_t | rotation | ) |
Set Camera image rotation on LCD Displayed frame buffer.
- Parameters:
-
rotation : uint32_t rotation of camera image in preview buffer sent to LCD need to be of type Camera_ImageRotationTypeDef
- Return values:
-
Camera status
Definition at line 159 of file stm32f769i_eval_camera.c.
References CAMERA_ERROR, CAMERA_OK, CAMERA_ROTATION_INVALID, and CameraRotation.
void BSP_CAMERA_SnapshotStart | ( | uint8_t * | buff | ) |
Starts the camera capture in snapshot mode.
- Parameters:
-
buff,: pointer to the camera output buffer
Definition at line 275 of file stm32f769i_eval_camera.c.
References CameraCurrentResolution, GetSize(), and hDcmiEval.
uint8_t BSP_CAMERA_Stop | ( | void | ) |
Stop the CAMERA capture.
- Return values:
-
Camera status
Definition at line 303 of file stm32f769i_eval_camera.c.
References BSP_CAMERA_PwrDown(), CAMERA_ERROR, CAMERA_OK, and hDcmiEval.
void BSP_CAMERA_Suspend | ( | void | ) |
Suspend the CAMERA capture.
Definition at line 284 of file stm32f769i_eval_camera.c.
References hDcmiEval.
void BSP_CAMERA_VsyncEventCallback | ( | void | ) |
VSYNC Event callback.
Definition at line 612 of file stm32f769i_eval_camera.c.
Referenced by HAL_DCMI_VsyncEventCallback().
Generated on Thu May 25 2017 11:03:12 for STM32769I_EVAL BSP User Manual by 1.7.6.1