# CAMERA_StopCapture

## Syntax

  `#include <twl/camera.h>`
  `void CAMERA_StopCapture( void );`

## Arguments

None.

## Return Values

None.

## Description

Stops capturing. Gets the image data up to the frame where this function is called (at the start of the camera V-Blank).
For this reason, the actual sending of data to the buffer set by functions such as `CAMERA_DmaRecvAsync` does not stop until after the next camera V-Blank.
If you are going to resume capturing, wait until the `CAMERA_IsBusy` function is `FALSE` or you have otherwise confirmed that the previous capture has stopped before you call the `CAMERA_StartCapture` function.
Note that the camera V-Blank differs from the LCD (GX) V-Blank.
This function stops saving image data to the line buffer for the active camera. The `CAMERA_I2CActivate` function must be called with `CAMERA_SELECT_NONE` to stop the camera module itself (to place the camera module in standby mode).

## See Also

`CAMERA_StartCapture`
`CAMERA_I2CActivate`
`CAMERA_DmaRecvAsync`
`CAMERA_IsBusy`

## Revision History

2008/11/21 Added mention about the timing of the actual cessation of data transmissions.
2007/10/22 Added to Description.
2007/10/02 Initial version.

CONFIDENTIAL