-
-
Notifications
You must be signed in to change notification settings - Fork 111
/
Copy pathMeasurementTime.cs
43 lines (36 loc) · 974 Bytes
/
MeasurementTime.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
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
namespace Iot.Device.Bh1745
{
/// <summary>
/// Represents the available measurement times for the Bh1745.
/// </summary>
public enum MeasurementTime : byte
{
/// <summary>
/// 160ms measurement time.
/// </summary>
Ms160 = 0b000,
/// <summary>
/// 320ms measurement time.
/// </summary>
Ms320 = 0b001,
/// <summary>
/// 640ms measurement time.
/// </summary>
Ms640 = 0b010,
/// <summary>
/// 1280ms measurement time.
/// </summary>
Ms1280 = 0b011,
/// <summary>
/// 2560ms measurement time.
/// </summary>
Ms2560 = 0b100,
/// <summary>
/// 5120ms measurement time.
/// </summary>
Ms5120 = 0b101
}
}