| 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_types.h
Go to the documentation of this file.
1 /**
2 * @file isf_sm_types.h
3 * @brief The \b isf_sm_types.h contains the collection of type definitions used in the Sensor Manager Interface as well as related defines and data structures
4 * required.
5 *
6 * @copyright Copyright (c) 2015, Freescale Semiconductor, Inc.
7 */
8
9 #ifndef ISF_SM_TYPES_H_
10 #define ISF_SM_TYPES_H_
11
12 #include "isf.h"
13 #include "isf_sensor_types.h"
14 #include "isf_dsa_adapter.h"
15
16 /*! Error Return codes */
17 #define ERR_INVALID_HANDLE (int32)(-1L)
18 #define ERR_INVALID_PTR (int32)(-2L)
19
20
21 /*! Sensor configuration settings used when subscribing to sensor data. */
22 typedef struct
23 {
24 isf_SensorDataTypes_t resultType; //!< The desired data type of the subscription
25 isf_dsa_result_types_t resultFormat; //!< The format of the data to be returned- 0=RAW, 1=FIXED, 2=FLOAT
26 uint32 nSamplePeriod; //!< Sample period in microseconds
27 uint8 nSettingsToUse; //!< 1 = current; 2=given; 3=best possible
28 uint8 nFifoDepth; //!< 1 = no FIFO, or another value < ::SM_MAX_FIFO_DEPTH
29 } isf_SubscriptionSettings_t;
30
31
32 #endif /* ISF_SM_TYPES_H_ */
uint8
unsigned char uint8
Definition: isf_types.h:76
isf_dsa_adapter.h
isf_SubscriptionSettings_t::resultFormat
isf_dsa_result_types_t resultFormat
The format of the data to be returned- 0=RAW, 1=FIXED, 2=FLOAT.
Definition: isf_dsa_direct_types.h:25
isf_SubscriptionSettings_t::nFifoDepth
uint8 nFifoDepth
1 = no FIFO, or another value < SM_MAX_FIFO_DEPTH
Definition: isf_dsa_direct_types.h:28
isf_sensor_types.h
The isf_sensor_types.h contains the enumerated list of sensor types used by ISF.
isf_dsa_result_types_t
enum isf_dsa_result_enums isf_dsa_result_types_t
isf_SensorDataTypes_t
isf_SensorDataTypes_t
Definition: isf_sensor_types.h:61
isf_SubscriptionSettings_t::resultType
isf_SensorDataTypes_t resultType
The desired data type of the subscription.
Definition: isf_dsa_direct_types.h:24
isf.h
Main ISF header file. Contains code common to all ISF components.
isf_SubscriptionSettings_t::nSettingsToUse
uint8 nSettingsToUse
1 = current; 2=given; 3=best possible
Definition: isf_dsa_direct_types.h:27
isf_SubscriptionSettings_t::nSamplePeriod
uint32 nSamplePeriod
Sample period in microseconds.
Definition: isf_dsa_direct_types.h:26
isf_SubscriptionSettings_t
Definition: isf_dsa_direct_types.h:22
uint32
unsigned long int uint32
Definition: isf_types.h:78
- © Freescale Semiconductor, Inc. 2016. All Rights Reserved.