Skip to main content
spati.11
Associate II
January 15, 2021
Question

LIS2DE12 Interrupt 1 is not working.

Error while parsing Rich Text Content
This topic has been closed for replies.

1 reply

Eleon BORLINI
ST Employee
January 18, 2021

Hi @spati.1​ ,

it seems something went wrong in your posting the question... is this post related to this other one?

If so, is the interrupt you are referring the one below?

/* Set interrupt threshold at ~800 mg -> 1bit = 16mg@2g */
 lis2de12_int1_gen_threshold_set(&dev_ctx, 0x30);
/* Set duration to zero - 1 bit = 1/ODR */
 lis2de12_int1_gen_duration_set(&dev_ctx, 0);

-Eleon