CAMERA_SetRebootCallback

Syntax

#include <twl/camera.h>

void CAMERA_SetRebootCallback(CAMERAIntrCallback callback);

Arguments

callback Callback function to invoke after the camera has finished restarting.

Return Values

None.

Description

Sets the callback function to invoke after the camera has finished restarting.
The camera is restarted automatically when the library can internally confirm a camera malfunction.
When restarting, the camera settings will be recovered to their values immediately before the malfunction, but capture operations will not start even if the capture operation was running immediately before the malfunction. The line buffer should be cleared and capturing should be started from the callback specified by this function.

See Also

CAMERA_ClearBuffer, CAMERA_StartCapture

Revision History

2008/06/26 Initial version.


CONFIDENTIAL