forked from nanoframework/nanoFramework.IoT.Device
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MeasurementMode.cs
59 lines (50 loc) · 1.67 KB
/
MeasurementMode.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Iot.Device.Sht4x
{
/// <summary>
/// Represents the measurement mode for the Sht4X sensor.
/// </summary>
/// <remarks>
/// The measurement mode determines the heating and precision settings for the sensor measurements.
/// </remarks>
public enum MeasurementMode : byte
{
/// <summary>
/// Heater off, high precision. 10 MS delay.
/// </summary>
NoHeaterHighPrecision = 0xFD,
/// <summary>
/// Heater off, medium precision. 5 MS delay.
/// </summary>
NoHeaterMediumPrecision = 0xF6,
/// <summary>
/// Heater off, low precision. 2 MS delay.
/// </summary>
NoHeaterLowPrecision = 0xE0,
/// <summary>
/// Heater on, high power, high precision. 1100MS delay.
/// </summary>
HighHeat1S1 = 0x39,
/// <summary>
/// Heater on, high power, high precision. 100MS delay.
/// </summary>
HighHeat100Ms = 0x32,
/// <summary>
/// Heater on, medium power, high precision. 1100MS delay.
/// </summary>
MediumHeat1S1 = 0x2F,
/// <summary>
/// Heater on, medium power, high precision. 100MS delay.
/// </summary>
MediumHeat100Ms = 0x24,
/// <summary>
/// Heater on, low power, high precision. 1100MS delay.
/// </summary>
LowHeat1S1 = 0x1E,
/// <summary>
/// Heater on, low power, high precision. 100MS delay.
/// </summary>
LowHeat100Ms = 0x15
}
}