| ISF 2.1 Intelligent Sensing Framework for Kinetis with Processor Expert

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

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 */
20 extern uint8 gNumSupportedSensors;
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_ */
uint8
unsigned char uint8
This defines uint8 as unsigned char.
Definition: isf_types.h:18
isf_dsa_adapter.h
stop_sensor
int32 stop_sensor(isf_SensorHandle_t *pSensorAdapterHandle)
Definition: isf_dsa_direct.c:116
isf_SensorHandle_st
This defines the DSA sensor device handle structure used to invoke the adapter access functions...
Definition: isf_dsa_adapter.h:109
uint32
unsigned long uint32
This defines uint32 as unsigned long.
Definition: isf_types.h:36
gNumSupportedSensors
uint8 gNumSupportedSensors
This is the external declaration of the current number of available sensors.
Definition: isf_sensor_configuration.c:42
init_sensor
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.
Definition: isf_dsa_direct.c:38
isf_dsa_result_types_t
enum isf_dsa_result_enums isf_dsa_result_types_t
configure_sensor
int32 configure_sensor(isf_SensorHandle_t *pSensorAdapterHandle, isf_SubscriptionSettings_t *pRequiredSettings, isf_fifo_t *pfifo)
Definition: isf_dsa_direct.c:85
start_sensor
int32 start_sensor(isf_SensorHandle_t *pSensorAdapterHandle)
Definition: isf_dsa_direct.c:109
isf_SensorDataTypes_t
isf_SensorDataTypes_t
Definition: isf_sensor_types.h:61
isf_fifo_t
Definition: isf_fifo.h:18
convert_sensor_data
int32 convert_sensor_data(isf_SensorHandle_t *pSensorAdapterHandle, isf_SensorDataTypes_t convertToType, isf_dsa_result_types_t resultType, void *nativeSample, void *convertedSample)
Definition: isf_dsa_direct.c:130
int32
long int32
This defines int32 as long.
Definition: isf_types.h:32
isf.h
Main ISF header file. Contains code common to all ISF components.
isf_SubscriptionSettings_t
Definition: isf_dsa_direct_types.h:23
shutdown_sensor
int32 shutdown_sensor(isf_SensorHandle_t *pSensorAdapterHandle)
Definition: isf_dsa_direct.c:123
isf_dsa_direct_types.h
- © Freescale Semiconductor, Inc. 2015. All Rights Reserved.