GetExposure

The function is described in the following sections.

Description

Query the sensor for the current exposure period.

Syntax

The following code block shows the syntax of the function.
GetExposure(
    SENSOR_HANDLE *pstHandle,
    STF_U32 *pu32Exposure,
    STF_U8 u8Context
    );

Parameter

The function has the following parameters.
Table 1. GetExposure Parameter Description
Parameter Description Input/Output
pstHandle Sensor handle Input
pu32Exposure Exposure time value Output
u8Context Sensor context. No longer in use Input

Return

The function has the following return values.
Table 2. GetExposure Return Description
Return Description
0 Success
Other values Failure

Requirement

None