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

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

Custom_1.h
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.h
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.h
27 ** @version 01.00
28 ** @brief
29 **
30 */
31 /*!
32 ** @addtogroup Custom_1_module Custom_1 module documentation
33 ** @{
34 */
35
36 #ifndef __Custom_1_H
37 #define __Custom_1_H
38
39 /* MODULE Custom_1. */
40
41 /* Include inherited components */
42 #include "I2C1.h"
43 #include "isf_devmsg.h"
44 #include "isf_dsa_adapter.h"
45 #include "isf_sensor_types.h"
46 #include "isf_sensor_base_types.h"
47 #include "fsl_i2c_master_driver.h"
48 #include "fsl_Sensor_Custom_1_Functions.h"
49 #include "Cpu.h"
50
51 /*!
52 * @brief This allows access to the sensor specific configuration for the target sensor.
53 *
54 */
55 extern Custom_1_Sensor_Specific_Settings_t Custom_1_Sensor_Specific_Config;
56
57 /*!
58 * @brief This allows access to the sensor adapter instance for the target sensor.
59 *
60 */
61 extern const isf_dsa_Adapter_t Custom_1_Adapter;
62
63 /*!
64 * @brief This allows access to the sensor communications specific configuration.
65 *
66 */
67 extern const i2c_device_t Custom_1_DeviceInfo;
68
69 /**
70 * @brief the structure defines the configuration table.
71 */
72 typedef struct Custom_1_ConfigTable_tag
73 {
74 void *memberVariable; /*!< reference to the member variable. */
75 uint8 startAddress; /*!< start address to the member variable. */
76 uint8 size; /*!< size of the member to be configured. */
77 } Custom_1_ConfigTable_Element_t;
78
79 /*! @brief Supported sensor and data types */
80 extern isf_SensorTypes_t Custom_1_SupportedSensorTypes[];
81 extern isf_SensorDataTypes_t Custom_1_SupportedDataTypes[];
82
83 /**
84 * @brief Local function declaration for validating the Device ID using the "WHOAMI" command.
85 */
86 Custom_1_Status_t Custom_1_device_check_whoami(dm_DeviceDescriptor_t* pDeviceHandle, uint8 whoami);
87
88 /**
89 * @brief Local function declaration for handling the wait state during device activation.
90 */
91 Custom_1_Status_t Custom_1_device_wait_for_active(dm_DeviceDescriptor_t* pDeviceHandle);
92
93 /* END Custom_1. */
94
95 #endif
96 /* ifndef __Custom_1_H */
97 /*!
98 ** @}
99 */
100 /*
101 ** ###################################################################
102 **
103 ** This file was created by Processor Expert 10.5 [05.21]
104 ** for the Freescale Kinetis series of microcontrollers.
105 **
106 ** ###################################################################
107 */
Cpu.h
Custom_1_ConfigTable_tag::memberVariable
void * memberVariable
Definition: Custom_1.h:74
uint8
unsigned char uint8
Definition: isf_types.h:76
Custom_1_Sensor_Specific_Config
Custom_1_Sensor_Specific_Settings_t Custom_1_Sensor_Specific_Config
This allows access to the sensor specific configuration for the target sensor.
Definition: fsl_Sensor_Custom_1_Functions.c:62
isf_dsa_adapter.h
Custom_1_ConfigTable_tag::size
uint8 size
Definition: Custom_1.h:76
Custom_1_Adapter
const isf_dsa_Adapter_t Custom_1_Adapter
This allows access to the sensor adapter instance for the target sensor.
Definition: Custom_1.c:43
Custom_1_ConfigTable_tag
the structure defines the configuration table.
Definition: Custom_1.h:72
Custom_1_DeviceInfo
const i2c_device_t Custom_1_DeviceInfo
This allows access to the sensor communications specific configuration.
Definition: fsl_Sensor_Custom_1_Functions.c:80
Custom_1_Sensor_Specific_Settings_t
Definition: fsl_Sensor_Custom_1_Functions.h:150
Custom_1_ConfigTable_tag::startAddress
uint8 startAddress
Definition: Custom_1.h:75
Custom_1_Status_t
int32 Custom_1_Status_t
SENSOR internal return codes.
Definition: fsl_Sensor_Custom_1_Functions.h:114
Custom_1_SupportedDataTypes
isf_SensorDataTypes_t Custom_1_SupportedDataTypes[]
Definition: fsl_Sensor_Custom_1_Functions.c:92
isf_SensorTypes_t
isf_SensorTypes_t
Definition: isf_sensor_types.h:14
Custom_1_SupportedSensorTypes
isf_SensorTypes_t Custom_1_SupportedSensorTypes[]
Supported sensor and data types.
Definition: fsl_Sensor_Custom_1_Functions.c:87
isf_sensor_base_types.h
The isf_sensor_base_types.h file contains declarations for the general base types used in the isf sen...
Custom_1_device_check_whoami
Custom_1_Status_t Custom_1_device_check_whoami(dm_DeviceDescriptor_t *pDeviceHandle, uint8 whoami)
Local function declaration for validating the Device ID using the "WHOAMI" command.
isf_sensor_types.h
The isf_sensor_types.h contains the enumerated list of sensor types used by ISF.
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_SensorDataTypes_t
isf_SensorDataTypes_t
Definition: isf_sensor_types.h:61
Custom_1_ConfigTable_Element_t
struct Custom_1_ConfigTable_tag Custom_1_ConfigTable_Element_t
the structure defines the configuration table.
Custom_1_device_wait_for_active
Custom_1_Status_t Custom_1_device_wait_for_active(dm_DeviceDescriptor_t *pDeviceHandle)
Local function declaration for handling the wait state during device activation.
I2C1.h
fsl_Sensor_Custom_1_Functions.h
This is user's event module. Put your event handler code here.
dm_DeviceDescriptor_struct
This structure defines a handle for the device.
Definition: isf_devmsg.h:61
isf_devmsg.h
isf_devmsg.h defines the API definitions and types for the Intelligent Sensing (ISF) Device Messaging...
- © Freescale Semiconductor, Inc. 2016. All Rights Reserved.