ISF  2.1
Intelligent Sensing Framework for Kinetis with Processor Expert
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
isf_dsa_direct.h
Go to the documentation of this file.
1 /*
2  * isf_dsa_direct.h
3  *
4  * Created on: Jul 10, 2014
5  * Author: B37804
6  */
7 
8 #ifndef ISF_DSA_DIRECT_H_
9 #define ISF_DSA_DIRECT_H_
10 
11 #include "isf.h"
12 #include "lwevent.h"
13 //#include "isf_sm_types.h"
14 #include "isf_dsa_direct_types.h"
15 #include "isf_dsa_adapter.h"
16 
17 /*!
18  * @brief This is the external declaration of the current number of available sensors.
19  */
21 
22 int32 init_sensor(uint8 nSensorID, isf_SensorHandle_t *pSensorAdapterHandle, LWEVENT_STRUCT *pEventGroup, uint32 nEventFieldIndex);
23 int32 configure_sensor(isf_SensorHandle_t *pSensorAdapterHandle, isf_SubscriptionSettings_t *pRequiredSettings, isf_fifo_t *pfifo);
24 int32 start_sensor(isf_SensorHandle_t *pSensorAdapterHandle);
25 int32 stop_sensor(isf_SensorHandle_t *pSensorAdapterHandle);
26 int32 shutdown_sensor(isf_SensorHandle_t *pSensorAdapterHandle);
27 int32 convert_sensor_data(isf_SensorHandle_t *pSensorAdapterHandle, isf_SensorDataTypes_t convertToType, isf_dsa_result_types_t resultType, void *nativeSample, void *convertedSample);
28 
29 #endif /* ISF_DSA_DIRECT_H_ */
unsigned char uint8
This defines uint8 as unsigned char.
Definition: isf_types.h:18
int32 stop_sensor(isf_SensorHandle_t *pSensorAdapterHandle)
This defines the DSA sensor device handle structure used to invoke the adapter access functions...
unsigned long uint32
This defines uint32 as unsigned long.
Definition: isf_types.h:36
uint8 gNumSupportedSensors
This is the external declaration of the current number of available sensors.
int32 init_sensor(uint8 nSensorID, isf_SensorHandle_t *pSensorAdapterHandle, LWEVENT_STRUCT *pEventGroup, uint32 nEventFieldIndex)
This function initializes the sensor adapters in the absence of the Sensor Manager.
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)
long int32
This defines int32 as long.
Definition: isf_types.h:32
Main ISF header file. Contains code common to all ISF components.
int32 shutdown_sensor(isf_SensorHandle_t *pSensorAdapterHandle)