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_Start</TITLE> 8<LINK rel="stylesheet" href="../css/nitro.css" type="text/css"> 9</HEAD> 10<BODY> 11<H1 align="left">CAMERA_Start <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><a href="CAMERAResult.html">CAMERAResult</a> CAMERA_Start(<A href="CAMERASelect.html">CAMERASelect</A> camera);</CODE> 18</DL> 19<H2>Arguments</H2> 20<TABLE border="1" width="100%"> 21 <TBODY> 22 <TR> 23 <TD width="13%"><EM><STRONG>camera</STRONG></EM></TD> 24 <TD width="87%">Specifies the camera to start. (<CODE>CAMERA_SELECT_IN</CODE> or <CODE>CAMERA_SELECT_OUT</CODE>)</TD> 25 </TR> 26 </TBODY> 27</TABLE> 28 29<H2>Return Values</H2> 30<P>Returns <CODE>CAMERA_RESULT_SUCCESS</CODE> when successful. Returns errors on failure.</P> 31 32<H2>Description</H2> 33<P> 34Starts the specified camera and begins capturing. This function will internally call the <A href="CAMERA_I2CActivate.html"><CODE>CAMERA_I2CActivate</CODE></A>, <A href="CAMERA_ClearBuffer.html"><CODE>CAMERA_ClearBuffer</CODE></A>, and <A href="CAMERA_StartCapture.html"><CODE>CAMERA_StartCapture</CODE></A> functions. 35</P> 36 37<H2>See Also</H2> 38<P><CODE><A href="CAMERA_I2CActivate.html">CAMERA_I2CActivate</A></CODE>, <CODE><A href="CAMERA_ClearBuffer.html">CAMERA_ClearBuffer</A></CODE>, <CODE><A href="CAMERA_StartCapture.html">CAMERA_StartCapture</A></CODE>, <CODE><A href="CAMERASelect.html">CAMERASelect</A></CODE></P> 39<H2>Revision History</H2> 40<P>2007/10/02 Initial version.</P> 41<hr><p>CONFIDENTIAL</p></body> 42</HTML> 43