-
-
Notifications
You must be signed in to change notification settings - Fork 114
/
Copy pathChannel.cs
84 lines (70 loc) · 1.81 KB
/
Channel.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
// 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.Tlc1543
{
/// <summary>
/// Available Channels to poll from on Tlc1543
/// <remarks>
/// <br>For more information see Table 2 and 3 in datasheet</br>
/// </remarks>
/// </summary>
public enum Channel
{
/// <summary>
/// Channel A0.
/// </summary>
A0 = 0,
/// <summary>
/// Channel A1.
/// </summary>
A1 = 1,
/// <summary>
/// Channel A2.
/// </summary>
A2 = 2,
/// <summary>
/// Channel A3.
/// </summary>
A3 = 3,
/// <summary>
/// Channel A4.
/// </summary>
A4 = 4,
/// <summary>
/// Channel A5.
/// </summary>
A5 = 5,
/// <summary>
/// Channel A6.
/// </summary>
A6 = 6,
/// <summary>
/// Channel A7.
/// </summary>
A7 = 7,
/// <summary>
/// Channel A8.
/// </summary>
A8 = 8,
/// <summary>
/// Channel A9.
/// </summary>
A9 = 9,
/// <summary>
/// Channel A10.
/// </summary>
A10 = 10,
/// <summary>
/// Self Test channel that sets charge capacitors to (Vref+ - Vref-)/2. Expected output is 512.
/// </summary>
SelfTestHalf = 11,
/// <summary>
/// Self Test channel that sets charge capacitors to Vref-. Expected output is 0.
/// </summary>
SelfTestMin = 12,
/// <summary>
/// Self Test channel that sets charge capacitors to Vref+. Expected output is 1023.
/// </summary>
SelfTestMax = 13,
}
}