nn::camera::CTR::SetExposure Functionnn::Result SetExposure( CameraSelect select, s8 exposure );
| Name | Description | |
|---|---|---|
| in | select | Specifies which camera to change settings for. |
| in | exposure | Specifies the exposure amount. Specifiable values lie in the range [-5, +5]. |
LEVEL_SUCCESS:SUMMARY_SUCCESS:MODULE_COMMON:DESCRIPTION_SUCCESS: Success.LEVEL_STATUS:SUMMARY_STATUS_CHANGED:MODULE_NN_CAMERA:DESCRIPTION_CAMERA_IS_SLEEPING: Asleep, and thus unavailable.LEVEL_FATAL:SUMMARY_INTERNAL:MODULE_NN_CAMERA:DESCRIPTION_CAMERA_FATAL_ERROR: There may be something physically wrong with the camera.Sets the exposure.
Note: If you have previously disabled auto-exposure with the SetAutoExposure function, calling this function will set the exposure and re-enable auto-exposure.
The default value is 0 for all cameras.
Note that this function may block internally for an extended period if a camera is restarting.
CONFIDENTIAL