summaryrefslogtreecommitdiff
path: root/include/driver/bme680_util.h
blob: cf7b5a1c8866390aa6700a0f5951673722e61e06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 * Copyright 2020 Daniel 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);