![]() |
LibDriver MAX30205
|
driver max30205 shot header file More...
#include "driver_max30205_interface.h"Go to the source code of this file.
Macros | |
| #define | MAX30205_SHOT_DEFAULT_DATA_FORMAT MAX30205_DATA_FORMAT_NORMAL |
| max30205 shot example default definition | |
| #define | MAX30205_SHOT_DEFAULT_INTERRUPT_MODE MAX30205_INTERRUPT_MODE_COMPARATOR |
| #define | MAX30205_SHOT_DEFAULT_FAULT_QUEUE MAX30205_FAULT_QUEUE_1 |
| #define | MAX30205_SHOT_DEFAULT_PIN_POLARITY MAX30205_PIN_POLARITY_LOW |
| #define | MAX30205_SHOT_DEFAULT_BUS_TIMEOUT MAX30205_BUS_TIMEOUT_DISABLE |
| #define | MAX30205_SHOT_DEFAULT_INTERRUPT_LOW_THRESHOLD 35.0f |
| #define | MAX30205_SHOT_DEFAULT_INTERRUPT_HIGH_THRESHOLD 39.0f |
Functions | |
| uint8_t | max30205_shot_init (max30205_address_t addr_pin) |
| shot example init | |
| uint8_t | max30205_shot_deinit (void) |
| shot example deinit | |
| uint8_t | max30205_shot_read (float *s) |
| shot example read | |
driver max30205 shot 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 |
|---|---|---|---|
| 2021/03/13 | 2.0 | Shifeng Li | format the code |
| 2020/11/25 | 1.0 | Shifeng Li | first upload |
Definition in file driver_max30205_shot.h.