-
-
Notifications
You must be signed in to change notification settings - Fork 114
/
Copy pathSampling.cs
44 lines (38 loc) · 1016 Bytes
/
Sampling.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
// 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.Bmxx80
{
/// <summary>
/// Oversampling settings.
/// </summary>
/// <remarks>
/// Maximum of x2 is recommended for temperature.
/// </remarks>
public enum Sampling : byte
{
/// <summary>
/// Skipped (output set to 0x80000).
/// </summary>
Skipped = 0b000,
/// <summary>
/// Oversampling x1.
/// </summary>
UltraLowPower = 0b001,
/// <summary>
/// Oversampling x2.
/// </summary>
LowPower = 0b010,
/// <summary>
/// Oversampling x4.
/// </summary>
Standard = 0b011,
/// <summary>
/// Oversampling x8.
/// </summary>
HighResolution = 0b100,
/// <summary>
/// Oversampling x16.
/// </summary>
UltraHighResolution = 0b101,
}
}