| Stima V4 Slave RAIN
    4.2
    | 
accelerometer IIS328DQ header file More...
#include <STM32FreeRTOS.h>#include "ticks.hpp"#include "thread.hpp"#include "semaphore.hpp"#include "Wire.h"Go to the source code of this file.
| Classes | |
| class | Accelerometer | 
| struct | Accelerometer::bitwise_t | 
| struct | Accelerometer::iis328dq_ctrl_reg1_t | 
| struct | Accelerometer::iis328dq_ctrl_reg2_t | 
| struct | Accelerometer::iis328dq_ctrl_reg3_t | 
| struct | Accelerometer::iis328dq_ctrl_reg4_t | 
| struct | Accelerometer::iis328dq_ctrl_reg5_t | 
| struct | Accelerometer::iis328dq_status_reg_t | 
| struct | Accelerometer::iis328dq_int1_cfg_t | 
| struct | Accelerometer::iis328dq_int1_src_t | 
| struct | Accelerometer::iis328dq_int1_ths_t | 
| struct | Accelerometer::iis328dq_int1_duration_t | 
| struct | Accelerometer::iis328dq_int2_cfg_t | 
| struct | Accelerometer::iis328dq_int2_src_t | 
| struct | Accelerometer::iis328dq_int2_ths_t | 
| struct | Accelerometer::iis328dq_int2_duration_t | 
| union | Accelerometer::iis328dq_reg_t | 
| struct | Accelerometer::int1_on_th_conf_t | 
| struct | Accelerometer::int2_on_th_conf_t | 
| struct | accelerometer_t | 
accelerometer IIS328DQ header file
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/licenses/.
Definition in file accelerometer.h.
| #define ACCELEROMETER_IIS328DQ_I2C_ADDR_DEFAULT (0x19) | 
IIS328DQ Accelerometer I2C Device Address 8 bit format depends from BIT SA0 -> 0x18 - 0x19
Definition at line 48 of file accelerometer.h.
| #define ACCELEROMETER_MAX_CHECK_ATTEMPT (5) | 
Definition at line 50 of file accelerometer.h.
| #define ACCELEROMETER_SEMAPHORE_MAX_WAITING_TIME_MS (1000) | 
Definition at line 44 of file accelerometer.h.
| #define ACCELEROMETER_WAIT_CHECK_HARDWARE (5) | 
Definition at line 49 of file accelerometer.h.
| #define ARR_REG_FILTER 30 | 
Definition at line 61 of file accelerometer.h.
| #define DRV_BIG_ENDIAN __ORDER_BIG_ENDIAN__ | 
Definition at line 56 of file accelerometer.h.
| #define DRV_BYTE_ORDER __BYTE_ORDER__ | 
Definition at line 57 of file accelerometer.h.
| #define DRV_LITTLE_ENDIAN __ORDER_LITTLE_ENDIAN__ | 
BIT Mode definitions
Definition at line 55 of file accelerometer.h.
| #define IIS328DQ_CTRL_REG1 0x20U | 
Definition at line 101 of file accelerometer.h.
| #define IIS328DQ_CTRL_REG2 0x21U | 
Definition at line 119 of file accelerometer.h.
| #define IIS328DQ_CTRL_REG3 0x22U | 
Definition at line 137 of file accelerometer.h.
| #define IIS328DQ_CTRL_REG4 0x23U | 
Definition at line 157 of file accelerometer.h.
| #define IIS328DQ_CTRL_REG5 0x24U | 
Definition at line 175 of file accelerometer.h.
| #define IIS328DQ_HP_FILTER_RESET 0x25U | 
Definition at line 187 of file accelerometer.h.
| #define IIS328DQ_ID 0x32 | 
Device Identification (Who am I)
Definition at line 52 of file accelerometer.h.
| #define IIS328DQ_INT1_CFG 0x30U | 
Definition at line 219 of file accelerometer.h.
| #define IIS328DQ_INT1_DURATION 0x33U | 
Definition at line 279 of file accelerometer.h.
| #define IIS328DQ_INT1_SRC 0x31U | 
Definition at line 243 of file accelerometer.h.
| #define IIS328DQ_INT1_THS 0x32U | 
Definition at line 267 of file accelerometer.h.
| #define IIS328DQ_INT2_CFG 0x34U | 
Definition at line 291 of file accelerometer.h.
| #define IIS328DQ_INT2_DURATION 0x37U | 
Definition at line 351 of file accelerometer.h.
| #define IIS328DQ_INT2_SRC 0x35U | 
Definition at line 315 of file accelerometer.h.
| #define IIS328DQ_INT2_THS 0x36U | 
Definition at line 339 of file accelerometer.h.
| #define IIS328DQ_OUT_X_H 0x29U | 
Definition at line 214 of file accelerometer.h.
| #define IIS328DQ_OUT_X_L 0x28U | 
Definition at line 213 of file accelerometer.h.
| #define IIS328DQ_OUT_Y_H 0x2BU | 
Definition at line 216 of file accelerometer.h.
| #define IIS328DQ_OUT_Y_L 0x2AU | 
Definition at line 215 of file accelerometer.h.
| #define IIS328DQ_OUT_Z_H 0x2DU | 
Definition at line 218 of file accelerometer.h.
| #define IIS328DQ_OUT_Z_L 0x2CU | 
Definition at line 217 of file accelerometer.h.
| #define IIS328DQ_REFERENCE 0x26U | 
Definition at line 188 of file accelerometer.h.
| #define IIS328DQ_STATUS_REG 0x27U | 
Definition at line 189 of file accelerometer.h.
| #define IIS328DQ_WHO_AM_I 0x0FU | 
Definition at line 100 of file accelerometer.h.
| #define PROPERTY_DISABLE (0U) | 
Definition at line 58 of file accelerometer.h.
| #define PROPERTY_ENABLE (1U) | 
Definition at line 59 of file accelerometer.h.