ISF  2.2 rev 5
Intelligent Sensing Framework for Kinetis with Processor Expert
Analog_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 : Analog_1.c
4 ** CDE edition : Standard
5 ** Project : ISF2P2_K64F_MQX_PROJ
6 ** Processor : MK64FN1M0VLL12
7 ** Component : ISF_KSDK_Sensor_Generic_Analog
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 : Analog_1
16 ** Analog Outputs : fsl_adc16
17 ** Analog Sensor Type : None
18 ** GPIO List : 1
19 ** GPIO List : SensorReset
20 ** Contents :
21 ** No public methods
22 **
23 ** (c) Copyright <company/user-name>, 2015
24 http://www.<company>.com
25 mail: info@<company>.com
26 ** ###################################################################*/
27 /*!
28 ** @file Analog_1.c
29 ** @version 01.00
30 ** @brief
31 **
32 */
33 /*!
34 ** @addtogroup Analog_1_module Analog_1 module documentation
35 ** @{
36 */
37 
38 /* MODULE Analog_1. */
39 
41 #include "Analog_1.h"
42 
43 /*!
44  * @brief This creates the sensor adapter instance for the target sensor.
45  */
46 
48 {
50  .devInfo.pSupportedSensorDataTypes = Analog_1_SupportedDataTypes,
51  .devInfo.nNativeDataSetSize = sizeof(Analog_1_DataBuffer_t),
52  .control.Initialize = &fsl_Sensor_Analog_1_Initialize,
53  .control.ValidateSettings = &fsl_Sensor_Analog_1_ValidateSettings,
54  .control.Configure = &fsl_Sensor_Analog_1_Configure,
55  .control.StartData = &fsl_Sensor_Analog_1_StartData,
56  .control.EndData = &fsl_Sensor_Analog_1_EndData,
57  .control.Calibrate = NULL,
58  .control.Shutdown = &fsl_Sensor_Analog_1_Shutdown,
59  .control.Convert = &fsl_Sensor_Analog_1_Convert
60 };
61 
62 
63 /* END Analog_1. */
64 
65 /*!
66 ** @}
67 */
68 /*
69 ** ###################################################################
70 **
71 ** This file was created by Processor Expert 10.5 [05.21]
72 ** for the Freescale Kinetis series of microcontrollers.
73 **
74 ** ###################################################################
75 */
76 
77 
isf_SensorTypes_t Analog_1_SupportedSensorTypes[]
Supported sensor and data types.
isf_dsa_status_t fsl_Sensor_Analog_1_ValidateSettings(isf_SensorHandle_t *pSensorHandle, isf_dsa_SensorSettings_t *pSensorSettings)
This is user's event module. Put your event handler code here.
isf_dsa_status_t fsl_Sensor_Analog_1_Initialize(isf_SensorHandle_t *pSensorHandle)
isf_dsa_status_t fsl_Sensor_Analog_1_StartData(isf_SensorHandle_t *pSensorHandle)
isf_dsa_status_t fsl_Sensor_Analog_1_Configure(isf_SensorHandle_t *pSensorHandle, isf_dsa_SensorSettings_t *pSensorSettings)
isf_dsa_DeviceInfoBlock_t devInfo
This defines the DSA adapter structure required for static initialization of the concrete instance of...
isf_SensorTypes_t * pSupportedSensorTypes
isf_dsa_status_t fsl_Sensor_Analog_1_EndData(isf_SensorHandle_t *pSensorHandle)
isf_dsa_status_t fsl_Sensor_Analog_1_Shutdown(isf_SensorHandle_t *pSensorHandle)
isf_SensorDataTypes_t Analog_1_SupportedDataTypes[]
const isf_dsa_Adapter_t Analog_1_Adapter
This creates the sensor adapter instance for the target sensor.
Definition: Analog_1.c:47
This structure defines the dummy DSA data buffer format.
isf_dsa_status_t fsl_Sensor_Analog_1_Convert(isf_SensorHandle_t *pSensorHandle, isf_SensorDataTypes_t convertToType, isf_dsa_result_types_t resultType, void *pNativeSample, void *pConvertedSample, int32_t *numBytes)