LIS2DH12 click config values. More...
LIS2DH12 click config values.
Definition at line 163 of file lis2dh12.h.
#include <lis2dh12.h>
Data Fields | |
bool | enable_DOUBLE |
otherwise single click for given axis are enabled | |
bool | enable_X_CLICK |
enable double pr single click for X axes | |
bool | enable_Y_CLICK |
enable double pr single click for Y axes | |
bool | enable_Z_CLICK |
enable double pr single click for Z axes | |
bool | noINT_latency |
if "0" interrupt stays high for TIME_latency setting \ if "1" interrupt stays high until CLICK_SRC is read | |
uint8_t | CLICK_thold:7 |
set click threshold | |
uint8_t | TIME_limit:7 |
set number of ODR cycles for time limit over threshold value | |
uint8_t | TIME_latency |
set number of ODR cycles for latency after a click | |
uint8_t | TIME_window |
set number of ODR cycles for window between clicks | |
uint8_t lis2dh12_click_t::CLICK_thold |
set click threshold
Definition at line 170 of file lis2dh12.h.
bool lis2dh12_click_t::enable_DOUBLE |
otherwise single click for given axis are enabled
Definition at line 164 of file lis2dh12.h.
bool lis2dh12_click_t::enable_X_CLICK |
enable double pr single click for X axes
Definition at line 165 of file lis2dh12.h.
bool lis2dh12_click_t::enable_Y_CLICK |
enable double pr single click for Y axes
Definition at line 166 of file lis2dh12.h.
bool lis2dh12_click_t::enable_Z_CLICK |
enable double pr single click for Z axes
Definition at line 167 of file lis2dh12.h.
bool lis2dh12_click_t::noINT_latency |
if "0" interrupt stays high for TIME_latency setting \ if "1" interrupt stays high until CLICK_SRC is read
Definition at line 168 of file lis2dh12.h.
uint8_t lis2dh12_click_t::TIME_latency |
set number of ODR cycles for latency after a click
Definition at line 172 of file lis2dh12.h.
uint8_t lis2dh12_click_t::TIME_limit |
set number of ODR cycles for time limit over threshold value
Definition at line 171 of file lis2dh12.h.
uint8_t lis2dh12_click_t::TIME_window |
set number of ODR cycles for window between clicks
Definition at line 173 of file lis2dh12.h.