![]() |
LibDriver ADXL362
|
driver adxl362 motion header file More...
#include "driver_adxl362_interface.h"Go to the source code of this file.
Macros | |
| #define | ADXL362_MOTION_DEFAULT_INTERRUPT_PIN_LEVEL ADXL362_INTERRUPT_PIN_LOW |
| adxl362 motion example default definition | |
| #define | ADXL362_MOTION_DEFAULT_BANDWIDTH_ODR ADXL362_BANDWIDTH_ODR_DIV_2 |
| #define | ADXL362_MOTION_DEFAULT_NOISE_MODE ADXL362_NOISE_MODE_NORMAL |
| #define | ADXL362_MOTION_DEFAULT_ODR ADXL362_ODR_12P5HZ |
| #define | ADXL362_MOTION_DEFAULT_RANGE ADXL362_RANGE_2G |
| #define | ADXL362_MOTION_DEFAULT_ACTIVITY_THRESHOLD 0.25f |
| #define | ADXL362_MOTION_DEFAULT_ACTIVITY_TIME 30 |
| #define | ADXL362_MOTION_DEFAULT_INACTIVITY_THRESHOLD 0.15f |
| #define | ADXL362_MOTION_DEFAULT_INACTIVITY_TIME 500 |
| #define | ADXL362_MOTION_DEFAULT_DETECT_MODE ADXL362_DETECT_MODE_LOOP |
| #define | ADXL362_MOTION_DEFAULT_ACTIVITY_DETECT_TRIGGER ADXL362_DETECT_TRIGGER_REFERENCED |
| #define | ADXL362_MOTION_DEFAULT_INACTIVITY_DETECT_TRIGGER ADXL362_DETECT_TRIGGER_REFERENCED |
Functions | |
| uint8_t | adxl362_motion_irq_handler (void) |
| motion irq | |
| uint8_t | adxl362_motion_init (void(*callback)(uint8_t type)) |
| motion example init | |
| uint8_t | adxl362_motion_deinit (void) |
| motion example deinit | |
driver adxl362 motion header file
Copyright (c) 2015 - present LibDriver All rights reserved
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
| Date | Version | Author | Description |
|---|---|---|---|
| 2023/02/28 | 1.0 | Shifeng Li | first upload |
Definition in file driver_adxl362_motion.h.