Zephyr API Documentation
3.0.0
A Scalable Open Source RTOS
3.0.0
Toggle main menu visibility
Main Page
Related Pages
Modules
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
Files
File List
Globals
All
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Macros
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
tmp108.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2021, Jimmy Johnson <catch22@fastmail.net>
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
15
#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_TMP108_H_
16
#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_TMP108_H_
17
18
#ifdef __cplusplus
19
extern
"C"
{
20
#endif
21
22
enum
sensor_attribute_tmp_108
{
24
SENSOR_ATTR_TMP108_ONE_SHOT_MODE
=
SENSOR_ATTR_PRIV_START
,
26
SENSOR_ATTR_TMP108_SHUTDOWN_MODE
,
28
SENSOR_ATTR_TMP108_CONTINUOUS_CONVERSION_MODE
,
30
SENSOR_ATTR_TMP108_ALERT_POLARITY
31
};
32
34
#define OVER_TEMP_MASK 0x1000U
35
37
#define UNDER_TEMP_MASK 0x0800U
38
39
#ifdef __cplusplus
40
}
41
#endif
42
43
#endif
/* ZEPHYR_INCLUDE_DRIVERS_SENSOR_TMP108_H_ */
SENSOR_ATTR_PRIV_START
@ SENSOR_ATTR_PRIV_START
Definition:
sensor.h:320
sensor_attribute_tmp_108
sensor_attribute_tmp_108
Definition:
tmp108.h:22
SENSOR_ATTR_TMP108_CONTINUOUS_CONVERSION_MODE
@ SENSOR_ATTR_TMP108_CONTINUOUS_CONVERSION_MODE
Definition:
tmp108.h:28
SENSOR_ATTR_TMP108_ALERT_POLARITY
@ SENSOR_ATTR_TMP108_ALERT_POLARITY
Definition:
tmp108.h:30
SENSOR_ATTR_TMP108_SHUTDOWN_MODE
@ SENSOR_ATTR_TMP108_SHUTDOWN_MODE
Definition:
tmp108.h:26
SENSOR_ATTR_TMP108_ONE_SHOT_MODE
@ SENSOR_ATTR_TMP108_ONE_SHOT_MODE
Definition:
tmp108.h:24
include
drivers
sensor
tmp108.h
Generated on Mon Feb 21 2022 22:43:01 for Zephyr API Documentation by
1.9.2