forked from nanoframework/nanoFramework.IoT.Device
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSamplesAmount.cs
More file actions
31 lines (27 loc) · 817 Bytes
/
SamplesAmount.cs
File metadata and controls
31 lines (27 loc) · 817 Bytes
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
// 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.Hmc5883l
{
/// <summary>
/// Number of samples averaged (1 to 8) per measurement output.
/// </summary>
public enum SamplesAmount : byte
{
/// <summary>
/// 1 (Default) samples per measurement output.
/// </summary>
One = 0b_0000_0000,
/// <summary>
/// 2 samples per measurement output.
/// </summary>
Two = 0b_0010_0000,
/// <summary>
/// 4 samples per measurement output.
/// </summary>
Four = 0b_0100_0000,
/// <summary>
/// 8 samples per measurement output.
/// </summary>
Eight = 0b_0110_0000
}
}