EasyManua.ls Logo

ST VD6283 - Stals_Errcode_T Stals_Getexposuretime; Stals_Errcode_T Stals_Setintermeasurementtime

ST VD6283
27 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
3.2.6 STALS_ErrCode_t STALS_GetExposureTime
STALS_ErrCode_t STALS_GetExposureTime (void *pHandle, uint32_t *pAppliedExpoTimeUs)
This function returns the actual exposure time.
Table 11. Parameters
Parameters Description
pHandle Opaque pointer used as the id of the instance of the driver
pAppliedExpoTimeUs Pointer in which the value of the actual exposure time is returned
Table 12. Return values
Return values Description
STALS_NO_ERROR Success
STALS_ERROR_INVALID_PARAMS At least one of the provided parameters to the function is invalid
3.2.7 STALS_ErrCode_t STALS_SetInterMeasurementTime
STALS_ErrCode_t STALS_SetInterMeasurementTime (void *pHandle, uint32_t InterMeasurmentInUs, uint32_t
*pAppliedInterMeasurmentInUs)
This function sets an intermeasurement time into the device, after having tuned to the closest value that the
device can support.
It also returns the actual applied value in the device
Table 13. Parameters
Parameters Description
pHandle Opaque pointer used as the id of the instance of the driver
InterMeasurmentInUs Intermeasurement value in micro seconds
pAppliedInterMeasurmentInUs Pointer in which the value of the actual intermeasurement time is returned
Table 14. Return values
Return values Description
STALS_NO_ERROR Success
STALS_ERROR_INVALID_PARAMS At least one of the provided parameters to the function is invalid
STALS_ERROR_ALREADY_STARTED Intermeasurement can not be set when the device is running
STALS_ERROR_WRITE Could not write any data on the device through I2C
UM2878
STALS API definition
UM2878 - Rev 1
page 9/27

Related product manuals