-
-
Notifications
You must be signed in to change notification settings - Fork 114
/
Copy pathChargeStatus.cs
48 lines (41 loc) · 1.06 KB
/
ChargeStatus.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
////
// Copyright (c) .NET Foundation and Contributors
// See LICENSE file in the project root for full license information.
////
namespace Iot.Device.Bq2579x
{
/// <summary>
/// Charge status.
/// </summary>
public enum ChargeStatus : byte
{
/// <summary>
/// Not charging.
/// </summary>
NotCharging = 0b0000_0000,
/// <summary>
/// Trickle Charge.
/// </summary>
Trickle = 0b0010_0000,
/// <summary>
/// Pre-Charge.
/// </summary>
PreCharge = 0b0100_0000,
/// <summary>
/// Fast Charge (CC mode).
/// </summary>
FastCharge = 0b0110_0000,
/// <summary>
/// Taper Charge (CV mode).
/// </summary>
TaperCharge = 0b1000_0000,
/// <summary>
/// Top-off Timer Active Charging.
/// </summary>
TopOffTimer = 0b1100_0000,
/// <summary>
/// Charge termination done.
/// </summary>
ChargeTerminationDone = 0b1110_0000,
}
}