-
-
Notifications
You must be signed in to change notification settings - Fork 106
/
DataRate.cs
51 lines (43 loc) · 1014 Bytes
/
DataRate.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
// 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.Ads1115
{
/// <summary>
/// Control the Data Rate (SPS, sample per second).
/// </summary>
public enum DataRate
{
/// <summary>
/// 8 SPS.
/// </summary>
SPS008 = 0x00,
/// <summary>
/// 16 SPS.
/// </summary>
SPS016 = 0x01,
/// <summary>
/// 32 SPS.
/// </summary>
SPS032 = 0x02,
/// <summary>
/// 64 SPS.
/// </summary>
SPS064 = 0x03,
/// <summary>
/// 128 SPS.
/// </summary>
SPS128 = 0x04,
/// <summary>
/// 250 SPS.
/// </summary>
SPS250 = 0x05,
/// <summary>
/// 475 SPS.
/// </summary>
SPS475 = 0x06,
/// <summary>
/// 860 SPS.
/// </summary>
SPS860 = 0x07
}
}