Parameter for interrupt configuration. More...
Parameter for interrupt configuration.
Definition at line 172 of file lis2dh12.h.
#include <lis2dh12.h>
Data Fields | |
uint8_t | int_config |
values for configuration | |
uint8_t | int_threshold:7 |
the threshold for triggering interrupt, threshold in range 0-127 | |
uint8_t | int_duration:7 |
time between two interrupts ODR section in CTRL_REG1, duration in range 0-127 | |
uint8_t | int_type |
values for type of interrupts | |
gpio_cb_t | cb |
the callback to execute | |
void * | arg |
the callback argument | |