SetMode
The function is described in the following sections.
Description
Set the sensor mode.
Syntax
The following code block shows the syntax of the function.
SetMode( SENSOR_HANDLE *pstHandle, STF_U8 u8ModeIdx, STF_U8 u8Flipping );
Parameter
The function has the following parameters.
Parameter | Description | Input/Output |
---|---|---|
pstHandle | Sensor handle | Input |
u8ModeIdx | Sensor mode index | Input |
u8Flipping | Flip and mirror information | Input |
Return
The function has the following return values.
Return | Description |
---|---|
0 | Success |
Other values | Failure |
Requirement
None