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

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

Custom_1.c
Go to the documentation of this file.
1 /* ###################################################################
2 ** This component module is generated by Processor Expert. Do not modify it.
3 ** Filename : Custom_1.c
4 ** CDE edition : Standard
5 ** Project : ISF2P2_K64F_MQX_PROJ
6 ** Processor : MK64FN1M0VLL12
7 ** Component : ISF_KSDK_Sensor_Custom_Adaptor
8 ** Version : Component 02.500, Driver 01.00, CPU db: 3.00.000
9 ** Repository : My Components
10 ** Compiler : GNU C Compiler
11 ** Date/Time : 2016-10-06, 13:38, # CodeGen: 0
12 ** Abstract :
13 **
14 ** Settings :
15 ** Component Name : Custom_1
16 ** Device Address : 0x1D
17 ** Use Comm Channel : yes
18 ** Comm Channel : I2C1
19 ** Contents :
20 ** No public methods
21 **
22 ** (c) Copyright Freescale Semiconductor Inc., 2015
23 http://www.freescale.com
24 ** ###################################################################*/
25 /*!
26 ** @file Custom_1.c
27 ** @version 01.00
28 ** @brief
29 **
30 */
31 /*!
32 ** @addtogroup Custom_1_module Custom_1 module documentation
33 ** @{
34 */
35
36 /* MODULE Custom_1. */
37
38 #include "Custom_1.h"
39
40 /*!
41 * @brief This creates the sensor adapter instance for the target sensor.
42 */
43 const isf_dsa_Adapter_t Custom_1_Adapter =
44 {
45 .devInfo.pSupportedSensorTypes = Custom_1_SupportedSensorTypes,
46 .devInfo.pSupportedSensorDataTypes = Custom_1_SupportedDataTypes,
47 .devInfo.nNativeDataSetSize = sizeof(Custom_1_DataBuffer_t),
48 .control.Initialize = &fsl_Sensor_Custom_1_Initialize,
49 .control.ValidateSettings = &fsl_Sensor_Custom_1_ValidateSettings,
50 .control.Configure = &fsl_Sensor_Custom_1_Configure,
51 .control.StartData = &fsl_Sensor_Custom_1_StartData,
52 .control.EndData = &fsl_Sensor_Custom_1_EndData,
53 .control.Calibrate = NULL,
54 .control.Shutdown = &fsl_Sensor_Custom_1_Shutdown,
55 .control.Convert = &fsl_Sensor_Custom_1_Convert
56 };
57
58
59 /* END Custom_1. */
60
61 /*!
62 ** @}
63 */
64 /*
65 ** ###################################################################
66 **
67 ** This file was created by Processor Expert 10.5 [05.21]
68 ** for the Freescale Kinetis series of microcontrollers.
69 **
70 ** ###################################################################
71 */
fsl_Sensor_Custom_1_Initialize
isf_dsa_status_t fsl_Sensor_Custom_1_Initialize(isf_SensorHandle_t *pSensorHandle)
Definition: fsl_Sensor_Custom_1_Functions.c:140
fsl_Sensor_Custom_1_EndData
isf_dsa_status_t fsl_Sensor_Custom_1_EndData(isf_SensorHandle_t *pSensorHandle)
Definition: fsl_Sensor_Custom_1_Functions.c:152
fsl_Sensor_Custom_1_Convert
isf_dsa_status_t fsl_Sensor_Custom_1_Convert(volatile isf_SensorHandle_t *pSensorHandle, isf_SensorDataTypes_t convertToType, isf_dsa_result_types_t resultType, void *pNativeSample, void *pConvertedSample, int32_t *numBytes)
Definition: fsl_Sensor_Custom_1_Functions.c:122
Custom_1_Adapter
const isf_dsa_Adapter_t Custom_1_Adapter
This creates the sensor adapter instance for the target sensor.
Definition: Custom_1.c:43
Custom_1.h
fsl_Sensor_Custom_1_ValidateSettings
isf_dsa_status_t fsl_Sensor_Custom_1_ValidateSettings(isf_SensorHandle_t *pSensorHandle, isf_dsa_SensorSettings_t *pSensorSettings)
Definition: fsl_Sensor_Custom_1_Functions.c:134
fsl_Sensor_Custom_1_Configure
isf_dsa_status_t fsl_Sensor_Custom_1_Configure(isf_SensorHandle_t *pSensorHandle, isf_dsa_SensorSettings_t *pSensorSettings)
Definition: fsl_Sensor_Custom_1_Functions.c:128
Custom_1_SupportedDataTypes
isf_SensorDataTypes_t Custom_1_SupportedDataTypes[]
Definition: fsl_Sensor_Custom_1_Functions.c:92
Custom_1_SupportedSensorTypes
isf_SensorTypes_t Custom_1_SupportedSensorTypes[]
Supported sensor and data types.
Definition: fsl_Sensor_Custom_1_Functions.c:87
isf_dsa_Adapter_st::devInfo
isf_dsa_DeviceInfoBlock_t devInfo
Definition: isf_dsa_adapter.h:146
fsl_Sensor_Custom_1_StartData
isf_dsa_status_t fsl_Sensor_Custom_1_StartData(isf_SensorHandle_t *pSensorHandle)
Definition: fsl_Sensor_Custom_1_Functions.c:146
isf_dsa_Adapter_st
This defines the DSA adapter structure required for static initialization of the concrete instance of...
Definition: isf_dsa_adapter.h:144
isf_dsa_DeviceInfoBlock_st::pSupportedSensorTypes
isf_SensorTypes_t * pSupportedSensorTypes
Definition: isf_dsa_adapter.h:70
Custom_1_DataBuffer_t
This structure defines the dummy DSA data buffer format.
Definition: fsl_Sensor_Custom_1_Functions.h:119
fsl_Sensor_Custom_1_Shutdown
isf_dsa_status_t fsl_Sensor_Custom_1_Shutdown(isf_SensorHandle_t *pSensorHandle)
Definition: fsl_Sensor_Custom_1_Functions.c:158
- © Freescale Semiconductor, Inc. 2016. All Rights Reserved.