| ISF 2.2 rev 5 Intelligent Sensing Framework for Kinetis with Processor Expert

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

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 */
24 extern uint8 gNumSupportedSensors;
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_ */
uint8
unsigned char uint8
Definition: isf_types.h:76
isf_dsa_adapter.h
stop_sensor
int32 stop_sensor(isf_SensorHandle_t *pSensorAdapterHandle)
Definition: isf_dsa_direct.c:119
isf_SensorHandle_st
This defines the DSA sensor device handle structure used to invoke the adapter access functions...
Definition: isf_dsa_adapter.h:107
init_sensor
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.
Definition: isf_dsa_direct.c:41
gNumSupportedSensors
uint8 gNumSupportedSensors
This is the external declaration of the current number of available sensors.
Definition: isf_sensor_configuration.c:64
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:88
start_sensor
int32 start_sensor(isf_SensorHandle_t *pSensorAdapterHandle)
Definition: isf_dsa_direct.c:112
isf_SensorDataTypes_t
isf_SensorDataTypes_t
Definition: isf_sensor_types.h:61
isf_fifo_t
Definition: isf_fifo.h:19
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:133
isf.h
Main ISF header file. Contains code common to all ISF components.
int32
signed long int int32
Definition: isf_types.h:74
isf_SubscriptionSettings_t
Definition: isf_dsa_direct_types.h:22
uint32
unsigned long int uint32
Definition: isf_types.h:78
shutdown_sensor
int32 shutdown_sensor(isf_SensorHandle_t *pSensorAdapterHandle)
Definition: isf_dsa_direct.c:126
isf_dsa_direct_types.h
- © Freescale Semiconductor, Inc. 2016. All Rights Reserved.