-
-
Notifications
You must be signed in to change notification settings - Fork 114
/
Copy pathActInactCtlMap.cs
51 lines (43 loc) · 1.09 KB
/
ActInactCtlMap.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
// Copyright (c) 2017 The nanoFramework project contributors
// See LICENSE file in the project root for full license information.
namespace Iot.Device.Adxl343Lib
{
/// <summary>
/// Active Inactive Control Map.
/// </summary>
internal enum ActInactCtlMap : byte
{
/// <summary>
/// Active AC/DC.
/// </summary>
ActAcDc = 0x80,
/// <summary>
/// Active X Enable.
/// </summary>
ActXEnable = 0x40,
/// <summary>
/// Active Y Enable.
/// </summary>
ActYEnable = 0x20,
/// <summary>
/// Active Z Enable.
/// </summary>
ActZEnable = 0x10,
/// <summary>
/// Inactive AC/DC.
/// </summary>
InactAcDc = 0x08,
/// <summary>
/// Inactive X Enable.
/// </summary>
InactXEnable = 0x04,
/// <summary>
/// Inactive Y Enable.
/// </summary>
InactYEnable = 0x02,
/// <summary>
/// Inactive Z Enable.
/// </summary>
InactZEnable = 0x01
}
}