The magnetometer vector-magnitude function will generate an interrupt when magnitude is greater than specified threshold value. The user may program the threshold value to establish the conditions needed to detect a magnetic vector-magnitude change event. Depending on the values chosen for the reference values, this function may be configured to detect a magnetic field magnitude that is above a preset threshold (with reference values = 0), or a change in magnitude between two magnetic vectors greater than the preset threshold (with reference values non-zero). Default configuration of M_VECM_CFG register (address 0x69) is 0x4e. Signed-off-by: Matija Tudan <mtudan@mobilisis.hr> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| fxos8700_trigger.c | ||
| fxos8700.c | ||
| fxos8700.h | ||
| Kconfig | ||