ISF  2.2 rev 5
Intelligent Sensing Framework for Kinetis with Processor Expert
FXLC95000_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 : FXLC95000_1.h
4 ** CDE edition : Standard
5 ** Project : ISF2P2_K64F_MQX_PROJ
6 ** Processor : MK64FN1M0VLL12
7 ** Component : ISF_KSDK_Sensor_FXLC95000_Accelerometer
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 : FXLC95000_1
16 ** Device Address : 0x4C
17 ** Comm Channel : I2C1
18 ** Allowed Sample Rates : 800Hz
19 ** Allowed Full-scale Range : ±2 g
20 ** Contents :
21 ** No public methods
22 **
23 ** (c) Copyright Freescale Semiconductor Inc, 2015
24 http://www.freescale.com
25 ** ###################################################################*/
26 /*!
27 ** @file FXLC95000_1.h
28 ** @version 01.00
29 ** @brief
30 **
31 */
32 /*!
33 ** @addtogroup FXLC95000_1_module FXLC95000_1 module documentation
34 ** @{
35 */
36 
37 #ifndef __FXLC95000_1_H
38 #define __FXLC95000_1_H
39 
40 /* MODULE FXLC95000_1. */
41 
42 /* Include inherited components */
43 #include "I2C1.h"
44 #include "fxlc95000.h"
46 #include "fsl_i2c_master_driver.h"
47 
48 #include "Cpu.h"
49 
50 #define FXLC95000_1_DATA_TYPE fxlc95000_DataBuffer_t
51 #define FXLC95000_1_SAMPLE_OFFSET (16)
52 #define FXLC95000_1_SAMPLE_SIZE (10)
53 #define FXLC95000_1_CONFIG_REGISTER_CMD_OFFSET (0)
54 #define FXLC95000_1_CONFIG_REGISTER_READ_OFFSET (4)
55 #define FXLC95000_1_CONFIG_REGISTER_SIZE (sizeof(fxlc95000_appConfigRegister_t))
56 /* FXLC95000 Sensor Output conversion factors */
57 #define FXLC95000_1_ACC_FLOAT_CONVERSION_FACTOR (0.000061035156)
58 #define FXLC95000_1_ACC_ACCEL_RANGE_2G (0x40)
59 #define FXLC95000_1_ACC_ACCEL_RANGE_4G (0x80)
60 #define FXLC95000_1_ACC_ACCEL_RANGE_8G (0xC0)
61 #define FXLC95000_1_ACC_MODE_ACCEL_ONLY (0x00)
62 #define FXLC95000_1_ACC_ACCEL_RESOLUTION_16_BIT (0x00)
63 
64 /*!
65  * @brief This allows access to the sensor specific configuration for the target sensor.
66  *
67  */
69 /*!
70  * @brief This allows access to the sensor adapter instance for the target sensor.
71  *
72  */
74 
75 /*!
76  * @brief This allows access to the sensor communications specific configuration.
77  *
78  */
79 extern const i2c_device_t FXLC95000_1_DeviceInfo;
80 
81 
82 
83 /* END FXLC95000_1. */
84 
85 #endif
86 /* ifndef __FXLC95000_1_H */
87 /*!
88 ** @}
89 */
90 /*
91 ** ###################################################################
92 **
93 ** This file was created by Processor Expert 10.5 [05.21]
94 ** for the Freescale Kinetis series of microcontrollers.
95 **
96 ** ###################################################################
97 */
const isf_dsa_Adapter_t FXLC95000_1_Adapter
This allows access to the sensor adapter instance for the target sensor.
Definition: FXLC95000_1.c:180
This defines the DSA adapter structure required for static initialization of the concrete instance of...
The fxlc95000.h contains the FXLC95000 Intelligent Sensor register definitions, access macros...
const i2c_device_t FXLC95000_1_DeviceInfo
This allows access to the sensor communications specific configuration.
Definition: FXLC95000_1.c:196
fxlc95000_Sensor_Specific_Settings_t FXLC95000_1_Sensor_Specific_Config
This allows access to the sensor specific configuration for the target sensor.
Definition: FXLC95000_1.c:149