forked from nanoframework/nanoFramework.IoT.Device
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AcquisitionSettings.cs
40 lines (34 loc) · 1.14 KB
/
AcquisitionSettings.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
// 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.DistanceSensor.Models.LidarLiteV3
{
/// <summary>
/// Various acquisition behavior settings
/// </summary>
[Flags]
public enum AcquisitionSettings
{
/// <summary>
/// Enables reference process during measurement
/// </summary>
EnableReferenceProcess = 0x40,
/// <summary>
/// Use custom delay instead of default delay
/// </summary>
UseCustomDelay = 0x20,
/// <summary>
/// Enable reference filter, averages 8 reference measurements for increase consistency
/// </summary>
EnableReferenceFilter = 0x10,
/// <summary>
/// Enable measurement quick termination
/// </summary>
EnableQuickTermination = 0x08,
/// <summary>
/// Enable default reference acquisition count (5) instead of reference acquisition
/// count set in REF_COUNT_VAL (0x12).
/// </summary>
UseDefaultReferenceAcquisition = 0x04
}
}