ISF  2.2 rev 5
Intelligent Sensing Framework for Kinetis with Processor Expert
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  */
44 {
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 */
isf_dsa_status_t fsl_Sensor_Custom_1_Initialize(isf_SensorHandle_t *pSensorHandle)
isf_dsa_status_t fsl_Sensor_Custom_1_EndData(isf_SensorHandle_t *pSensorHandle)
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)
const isf_dsa_Adapter_t Custom_1_Adapter
This creates the sensor adapter instance for the target sensor.
Definition: Custom_1.c:43
isf_dsa_status_t fsl_Sensor_Custom_1_ValidateSettings(isf_SensorHandle_t *pSensorHandle, isf_dsa_SensorSettings_t *pSensorSettings)
isf_dsa_status_t fsl_Sensor_Custom_1_Configure(isf_SensorHandle_t *pSensorHandle, isf_dsa_SensorSettings_t *pSensorSettings)
isf_SensorDataTypes_t Custom_1_SupportedDataTypes[]
isf_SensorTypes_t Custom_1_SupportedSensorTypes[]
Supported sensor and data types.
isf_dsa_DeviceInfoBlock_t devInfo
isf_dsa_status_t fsl_Sensor_Custom_1_StartData(isf_SensorHandle_t *pSensorHandle)
This defines the DSA adapter structure required for static initialization of the concrete instance of...
isf_SensorTypes_t * pSupportedSensorTypes
This structure defines the dummy DSA data buffer format.
isf_dsa_status_t fsl_Sensor_Custom_1_Shutdown(isf_SensorHandle_t *pSensorHandle)