[riot-notifications] [RIOT-OS/RIOT] driver_lis2dh12: functionality extension (#15871)

jan-mo notifications at github.com
Fri Jan 29 10:50:03 CET 2021


@jan-mo commented on this pull request.



> +    bool INT1_enable;     /**< enables filter for AOI on interrupt 1 */
+    bool INT2_enable;     /**< enables filter for AOI on interrupt 2 */
+    bool DATA_OUT_enable; /**< enables filter for data output */
+} lis2dh12_highpass_t;
+
+/**
+ * @brief   LIS2DH12 click config values
+ */
+typedef struct {
+    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 curr_ODR_Hz;    /**< give current ODR setting (current frequency in Hz) */

yes, the interval time is much better.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15871#discussion_r566700543
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210129/f94e9939/attachment.htm>


More information about the notifications mailing list