1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3<HEAD> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<TITLE>CAMERA_GetErrorStatus</TITLE> 8<LINK rel="stylesheet" href="../css/nitro.css" type="text/css"> 9</HEAD> 10<BODY> 11<H1 align="left">CAMERA_GetErrorStatus <IMG src="../image/TWL.gif" align="middle"></H1> 12<H2>Syntax</H2> 13<DL> 14 <DD> 15 <CODE>#include <twl/camera.h></CODE><BR> 16 <BR> 17 <CODE>BOOL CAMERA_GetErrorStatus( void );</CODE> 18</DL> 19<H2>Arguments</H2> 20<P>None.</P> 21 22<H2>Return Values</H2> 23<P>Returns <CODE>TRUE</CODE> if an error has occurred.</P> 24 25<H2>Description</H2> 26<P> 27Checks the error flag for the line buffer. The line buffer uses double buffering: image data from the camera module is saved into one buffer, and transferred using another buffer. The line buffers are switched when a V-Blank starts or if the line saved in the line buffer was specified by the flag for choosing the transfer line count. A value of 1 is written to the line buffer error flag if the transfer line buffer was not empty before the line buffer was switched. <BR><BR>When an error has occurred, stop capturing using the <code><A href="CAMERA_StopCapture.html">CAMERA_StopCapture</A></code> function, then call the <code><A href="CAMERA_ClearBuffer.html">CAMERA_ClearBuffer</A></code> function. 28</P> 29 30<H2>See Also</H2> 31<P><CODE><A href="CAMERA_SetTransferLines.html">CAMERA_SetTransferLines</A>, <A href="CAMERA_StopCapture.html">CAMERA_StopCapture</A>, <A href="CAMERA_ClearBuffer.html">CAMERA_ClearBuffer</A></CODE></P> 32<H2>Revision History</H2> 33<P>2007/10/29 Added descriptions. <BR>2007/10/02 Initial version.</P> 34<hr><p>CONFIDENTIAL</p></body> 35</HTML> 36