Sensor_Create

The API is described in the following sections.

Description

Sensor structure create and initialization.

Syntax

The following code block shows the syntax of the API.
Sensor_Create(
    SENSOR_HANDLE **ppstHandle,
    STF_U8 u8Index
    );

Parameter

The API has the following parameters.
Table 1. Sensor_Create Parameter Description
Parameter Description Input/Output
ppstHandle Sensor handle Input/Output
u8Index Sensor setting index. No longer in use Input

Return

The API has the following return values.
Table 2. Sensor_Create Return Description
Return Description
0 Success
Other values Failure

Requirement

None