
#include <twl/camera.h>CAMERAResult CAMERA_I2CWhiteBalance(CAMERASelect camera, CAMERAWhiteBalance wb);
CAMERAResult CAMERA_I2CWhiteBalanceAsync(CAMERASelect camera, CAMERAWhiteBalance wb, CAMERACallback callback, void *arg);
| camera | Camera to configure (CAMERA_SELECT_IN, CAMERA_SELECT_OUT, or CAMERA_SELECT_BOTH). |
| wb | The white balance to set. |
| callback | Function that is called when asynchronous processing has completed. |
| arg | Arguments when the callback function is invoked. |
Returns CAMERA_RESULT_SUCCESS if configuration was successful.
Sets the camera's white balance.
Unlike CAMERA_I2CWhiteBalance, the CAMERA_I2CWhiteBalanceAsync function returns control immediately and runs asynchronously. Use callback to confirm that processing has completed.
CAMERASelect
CAMERAWhiteBalance
CAMERACallback
CAMERAResult
2008/10/30 Added that CAMERA_SELECT_BOTH also can be specified.
2007/10/12 Initial version.
CONFIDENTIAL