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
15
int
tmp116_eeprom_read
(
const
struct
device
*dev,
off_t
offset,
void
*
data
,
16
size_t
len);
17
18
int
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_ */
device.h
types.h
off_t
__INTPTR_TYPE__ off_t
Definition
types.h:36
device
Runtime device structure (in ROM) per driver instance.
Definition
device.h:403
data
static fdata_t data[2]
Definition
test_fifo_contexts.c:15
tmp116_eeprom_write
int tmp116_eeprom_write(const struct device *dev, off_t offset, const void *data, size_t len)
tmp116_eeprom_read
int tmp116_eeprom_read(const struct device *dev, off_t offset, void *data, size_t len)
include
zephyr
drivers
sensor
tmp116.h
Generated on Sun Sep 15 2024 17:01:30 for Zephyr Project API by
1.9.8