camera_set_manual_shutter_speed()

Updated: April 19, 2023

Change the manual shutter speed

Synopsis:

#include <camera/camera_3a.h>
camera_error_t camera_set_manual_shutter_speed(camera_handle_t handle,
                                               double shutterspeed)

Arguments:

handle
The handle returned by a call to the camera_open() function.
shutterspeed
The manual shutter speed (in seconds) to set.

Library:

libcamapi

Description:

Use this function to set the manual shutter speed on the camera. The value that you set using this function is only applied when the exposure mode is set to allow manual shutter speed control using camera_set_exposure_mode(). You can use camera_get_supported_manual_shutter_speeds() to determine the range of valid shutter speed values that you can use.

For more information regarding these manual settings, see the Manual camera settings section.

Returns:

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