nn::camera::CTR::StopCapture Function

Syntax

void StopCapture(
     Port port
);

Parameters

Name Description
in port Specifies the port to stop.

Return Values

None.

Description

Stops capturing.

Gets the image data up to the frame (the start of the camera V-Blank) where this function is called. For this reason, data does not actually stop being sent to the configured buffer until after the next camera V-Blank. If you are going to resume capturing, wait until the nn::camera::CTR::IsBusy function returns false or you have otherwise confirmed that the previous capture has stopped before you call the nn::camera::CTR::StartCapture function.
Note: The camera V-Blank differs from the LCD V-Blank.

This function stops saving image data to the buffer for the active camera. The nn::camera::CTR::Activate function must be called with nn::camera::CTR::SELECT_NONE to stop the camera module itself (to place the camera module in standby mode).

Revision History

2010/04/09
Added description text.
2010/01/07
Initial version.

CONFIDENTIAL