camera_set_exposure_mode()

Configure the exposure mode on the camera.

Synopsis:

#include <camera/camera_api.h>
 
camera_error_t camera_set_exposure_mode(camera_handle_t handle, camera_exposuremode_t mode)

Arguments:

handle

The handle returned by a call to the camera_open() function.

mode

The auto exposure mode to use.

Library:

libcamapi

Description:

You can use the value of the camera_exposuremode_t to set the exposure mode on the camera.

Returns:

CAMERA_OK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.