forked from dotnet/iot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAxisEnabled.cs
44 lines (37 loc) · 1 KB
/
AxisEnabled.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.
using System;
namespace Iot.Device.Mpu6886
{
/// <summary>
/// Axes to enable
/// </summary>
[Flags]
public enum EnabledAxis
{
/// <summary>
/// Accelerometer X axis.
/// </summary>
AccelerometerX = 0b0010_0000,
/// <summary>
/// Accelerometer Y axis.
/// </summary>
AccelerometerY = 0b0001_0000,
/// <summary>
/// Accelerometer Z axis.
/// </summary>
AccelerometerZ = 0b0000_1000,
/// <summary>
/// Gyroscope X axis.
/// </summary>
GyroscopeX = 0b0000_0100,
/// <summary>
/// Gyroscope Y axis.
/// </summary>
GyroscopeY = 0b0000_0010,
/// <summary>
/// Gyroscope Z axis.
/// </summary>
GyroscopeZ = 0b0000_0001,
}
}