ISF  2.2 rev 5
Intelligent Sensing Framework for Kinetis with Processor Expert
isf_dsa_direct.h
Go to the documentation of this file.
1 /*
2  *
3  * Copyright (c) 2015, Freescale Semiconductor, Inc.
4  *
5 */
6 /*
7  * isf_dsa_direct.h
8  *
9  * Created on: Jul 10, 2013,
10  * Author: B37804
11  */
12 
13 #ifndef ISF_DSA_DIRECT_H_
14 #define ISF_DSA_DIRECT_H_
15 
16 #include "isf.h"
17 //#include "isf_sm_types.h"
18 #include "isf_dsa_direct_types.h"
19 #include "isf_dsa_adapter.h"
20 
21 /*!
22  * @brief This is the external declaration of the current number of available sensors.
23  */
25 
26 int32 init_sensor(uint8 nSensorID, isf_SensorHandle_t *pSensorAdapterHandle, event_t *pEventGroup, uint32 nEventFieldIndex);
27 int32 configure_sensor(isf_SensorHandle_t *pSensorAdapterHandle, isf_SubscriptionSettings_t *pRequiredSettings, isf_fifo_t *pfifo);
28 int32 start_sensor(isf_SensorHandle_t *pSensorAdapterHandle);
29 int32 stop_sensor(isf_SensorHandle_t *pSensorAdapterHandle);
30 int32 shutdown_sensor(isf_SensorHandle_t *pSensorAdapterHandle);
31 int32 convert_sensor_data(isf_SensorHandle_t *pSensorAdapterHandle, isf_SensorDataTypes_t convertToType, isf_dsa_result_types_t resultType, void *nativeSample, void *convertedSample);
32 
33 #endif /* ISF_DSA_DIRECT_H_ */
unsigned char uint8
Definition: isf_types.h:76
int32 stop_sensor(isf_SensorHandle_t *pSensorAdapterHandle)
This defines the DSA sensor device handle structure used to invoke the adapter access functions...
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.
uint8 gNumSupportedSensors
This is the external declaration of the current number of available sensors.
enum isf_dsa_result_enums isf_dsa_result_types_t
int32 configure_sensor(isf_SensorHandle_t *pSensorAdapterHandle, isf_SubscriptionSettings_t *pRequiredSettings, isf_fifo_t *pfifo)
int32 start_sensor(isf_SensorHandle_t *pSensorAdapterHandle)
isf_SensorDataTypes_t
int32 convert_sensor_data(isf_SensorHandle_t *pSensorAdapterHandle, isf_SensorDataTypes_t convertToType, isf_dsa_result_types_t resultType, void *nativeSample, void *convertedSample)
Main ISF header file. Contains code common to all ISF components.
signed long int int32
Definition: isf_types.h:74
unsigned long int uint32
Definition: isf_types.h:78
int32 shutdown_sensor(isf_SensorHandle_t *pSensorAdapterHandle)