| 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_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) 2014, Freescale Semiconductor, Inc.
7 */
8
9 #ifndef ISF_SM_TYPES_H_
10 #define ISF_SM_TYPES_H_
11
12 #include "isf.h"
13 #include "lwevent.h"
14 #include "isf_sensor_types.h"
15 #include "isf_dsa_adapter.h"
16
17 /*! Error Return codes */
18 #define ERR_INVALID_HANDLE (int32)(-1L)
19 #define ERR_INVALID_PTR (int32)(-2L)
20
21
22 /*! Sensor configuration settings used when subscribing to sensor data. */
23 typedef struct
24 {
25 isf_SensorDataTypes_t resultType; //!< The desired data type of the subscription
26 isf_dsa_result_types_t resultFormat; //!< The format of the data to be returned- 0=RAW, 1=FIXED, 2=FLOAT
27 uint32 nSamplePeriod; //!< Sample period in microseconds
28 uint8 nSettingsToUse; //!< 1 = current; 2=given; 3=best possible
29 uint8 nFifoDepth; //!< 1 = no FIFO, or another value < ::SM_MAX_FIFO_DEPTH
30 } isf_SubscriptionSettings_t;
31
32
33 #endif /* ISF_SM_TYPES_H_ */
uint8
unsigned char uint8
This defines uint8 as unsigned char.
Definition: isf_types.h:18
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:26
uint32
unsigned long uint32
This defines uint32 as unsigned long.
Definition: isf_types.h:36
isf_SubscriptionSettings_t::nFifoDepth
uint8 nFifoDepth
1 = no FIFO, or another value < SM_MAX_FIFO_DEPTH
Definition: isf_dsa_direct_types.h:29
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:25
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:28
isf_SubscriptionSettings_t::nSamplePeriod
uint32 nSamplePeriod
Sample period in microseconds.
Definition: isf_dsa_direct_types.h:27
isf_SubscriptionSettings_t
Definition: isf_dsa_direct_types.h:23
- © Freescale Semiconductor, Inc. 2015. All Rights Reserved.