GetMode
The function is described in the following sections.
Description
Fill in a structure detailing the modes supported by the sensor.
Syntax
The following code block shows the syntax of the function.
                
        GetMode(
    SENSOR_HANDLE *pstHandle,
    STF_U8 u8ModeIdx,
    SENSOR_MODE *pstModes
    );
Parameter
The function has the following parameters. 
        | Parameter | Description | Input/Output | 
|---|---|---|
| pstHandle | Sensor handle | Input | 
| u8ModeIdx | Sensor mode index | Input | 
| pstModes | Sensor mode information | Output | 
Return
The function has the following return values. 
        | Return | Description | 
|---|---|
| 0 | Success | 
| Other values | Failure | 
Requirement
None
