51 if (pSensorAdapterHandle == NULL)
59 if (pEventGroup == NULL)
137 void *nativeSample,
void *convertedSample)
int32 configure_sensor(isf_SensorHandle_t *pSensorAdapterHandle, isf_SubscriptionSettings_t *pRequiredSettings, isf_fifo_t *pfifo)
int32 shutdown_sensor(isf_SensorHandle_t *pSensorAdapterHandle)
int32 stop_sensor(isf_SensorHandle_t *pSensorAdapterHandle)
This defines the DSA sensor configuration structure defining each individual sensor adapter in the DS...
isf_dsa_status_t(* Configure)(isf_SensorHandle_t *pSensorHandle, isf_dsa_SensorSettings_t *pSensorSettings)
isf_dsa_status_t(* Shutdown)(isf_SensorHandle_t *pSensorHandle)
isf_dsa_ControlData_t controlData
const isf_dsa_Adapter_t * pAdapter
This defines the DSA sensor device handle structure used to invoke the adapter access functions...
isf_dsa_result_types_t resultFormat
The format of the data to be returned- 0=RAW, 1=FIXED, 2=FLOAT.
isf_dsa_ControlInterface_t control
#define ERR_INVALID_HANDLE
isf_dsa_status_t(* StartData)(isf_SensorHandle_t *pSensorHandle)
isf_dsa_status_t(* ValidateSettings)(isf_SensorHandle_t *pSensorHandle, isf_dsa_SensorSettings_t *pSensorSettings)
isf_dsa_data_converter_t * Convert
enum isf_dsa_result_enums isf_dsa_result_types_t
isf_dsa_result_types_t resultFormat
int32 convert_sensor_data(isf_SensorHandle_t *pSensorAdapterHandle, isf_SensorDataTypes_t convertToType, isf_dsa_result_types_t resultType, void *nativeSample, void *convertedSample)
const isf_SensorConfig_t * pSensorStaticConfig
isf_SensorHandle_t gSensorHandleList[]
This is the global DSA sensor driver list of the current sensor handles.
isf_SensorDataTypes_t resultType
The desired data type of the subscription.
isf_SensorDataTypes_t resultType
isf_dsa_AdapterStatus_t adapterStatus
int32 init_sensor(uint8 nSensorID, isf_SensorHandle_t *pSensorAdapterHandle, event_t *pEventGroup, uint32 nEventFieldIndex)
This function initializes the sensor adapters in the absence of the Sensor Manager.
uint32 nSamplePeriod
Sample period in microseconds.
isf_dsa_status_t(* Initialize)(isf_SensorHandle_t *pSensorHandle)
isf_fifo_t * pSampleBufferInfo
This defines the DSA sensor configuration parameter structure configuring the sensor settings by a su...
isf_dsa_SensorSettings_t sensorSettings
const isf_SensorConfig_t gSensorList[]
This is the external declaration of the DSA sensor list array containing the sensor adapters and sens...
int32 start_sensor(isf_SensorHandle_t *pSensorAdapterHandle)
isf_dsa_status_t(* EndData)(isf_SensorHandle_t *pSensorHandle)