forked from nanoframework/nanoFramework.IoT.Device
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDataFormatMap.cs
46 lines (39 loc) · 924 Bytes
/
DataFormatMap.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
// Copyright (c) 2017 The nanoFramework project contributors
// See LICENSE file in the project root for full license information.
namespace Iot.Device.Adxl343Lib
{
/// <summary>
/// Data Format Map.
/// </summary>
internal enum DataFormatMap
{
/// <summary>
/// Self Test.
/// </summary>
SelfTest = 0x80,
/// <summary>
/// SPI.
/// </summary>
Spi = 0x40,
/// <summary>
/// Interrupt Invert.
/// </summary>
IntInvert = 0x20,
/// <summary>
/// Reserved.
/// </summary>
Reserved = 0x10,
/// <summary>
/// Full Resolution.
/// </summary>
FullRes = 0x08,
/// <summary>
/// Justify.
/// </summary>
Justify = 0x04,
/// <summary>
/// Range.
/// </summary>
Range = 0x03
}
}