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

jan-mo notifications at github.com
Fri Jan 29 10:22:06 CET 2021


@jan-mo commented on this pull request.



>  #endif /* MODULE_LIS2DH12_INT */
 
+int lis2dh12_clear_memory(const lis2dh12_t *dev) {
+
+    assert(dev);
+
+    LIS2DH12_CTRL_REG5_t ctrl_reg5 = {0};
+    ctrl_reg5.bit.BOOT = 1;

No this clears the memory of sampled data. Its a misleading name of the register bit.

-- 
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_r566683802
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210129/b7203640/attachment.htm>


More information about the notifications mailing list