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.
Table 1. SetMode Parameter Description
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.
Table 2. SetMode Return Description
Return Description
0 Success
Other values Failure

Requirement

None