Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
tmp116.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021 Innoseis B.V
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_TMP116_H_
8#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_TMP116_H_
9
10#include <zephyr/device.h>
11#include <sys/types.h>
12
13#define EEPROM_TMP116_SIZE (4 * sizeof(uint16_t))
14
15int tmp116_eeprom_read(const struct device *dev, off_t offset, void *data,
16 size_t len);
17
18int tmp116_eeprom_write(const struct device *dev, off_t offset,
19 const void *data, size_t len);
20
21#endif /* ZEPHYR_INCLUDE_DRIVERS_SENSOR_TMP116_H_ */
__INTPTR_TYPE__ off_t
Definition types.h:36
Runtime device structure (in ROM) per driver instance.
Definition device.h:403
static fdata_t data[2]
Definition test_fifo_contexts.c:15
int tmp116_eeprom_write(const struct device *dev, off_t offset, const void *data, size_t len)
int tmp116_eeprom_read(const struct device *dev, off_t offset, void *data, size_t len)