summaryrefslogtreecommitdiff
path: root/include/driver/bme680_util.h
blob: c3f5a4cde8ca0c781b50a3cd49a60b932bc66e85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 * Copyright 2020 Birte Kristina Friesel
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */
#include <stdint.h>

void bme680_delay_ms(uint32_t const period);
void bme680_sleep_ms(uint32_t const period);

int8_t bme680_i2c_read(uint8_t dev_id, uint8_t reg_addr, uint8_t *reg_data, uint16_t len);

int8_t bme680_i2c_write(uint8_t dev_id, uint8_t reg_addr, uint8_t *reg_data, uint16_t len);