![]() |
LibDriver BMP388
|
driver bmp388 shot header file More...
#include "driver_bmp388_interface.h"Go to the source code of this file.
Macros | |
| #define | BMP388_SHOT_DEFAULT_SPI_WIRE BMP388_SPI_WIRE_4 |
| bmp388 shot example default definition | |
| #define | BMP388_SHOT_DEFAULT_IIC_WATCHDOG_TIMER BMP388_BOOL_TRUE |
| #define | BMP388_SHOT_DEFAULT_IIC_WATCHDOG_PERIOD BMP388_IIC_WATCHDOG_PERIOD_40_MS |
| #define | BMP388_SHOT_DEFAULT_PRESSURE BMP388_BOOL_TRUE |
| #define | BMP388_SHOT_DEFAULT_TEMPERATURE BMP388_BOOL_TRUE |
| #define | BMP388_SHOT_DEFAULT_PRESSURE_OVERSAMPLING BMP388_OVERSAMPLING_x32 |
| #define | BMP388_SHOT_DEFAULT_TEMPERATURE_OVERSAMPLING BMP388_OVERSAMPLING_x2 |
| #define | BMP388_SHOT_DEFAULT_ODR BMP388_ODR_12P5_HZ |
| #define | BMP388_SHOT_DEFAULT_FILTER_COEFFICIENT BMP388_FILTER_COEFFICIENT_15 |
Functions | |
| uint8_t | bmp388_shot_init (bmp388_interface_t interface, bmp388_address_t addr_pin) |
| shot example init | |
| uint8_t | bmp388_shot_deinit (void) |
| shot example deinit | |
| uint8_t | bmp388_shot_read (float *temperature_c, float *pressure_pa) |
| shot example read | |
driver bmp388 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/04/12 | 2.0 | Shifeng Li | format the code |
| 2020/12/20 | 1.0 | Shifeng Li | first upload |
Definition in file driver_bmp388_shot.h.