forked from nanoframework/nanoFramework.IoT.Device
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WakeUpEnable.cs
46 lines (39 loc) · 981 Bytes
/
WakeUpEnable.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
// 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.Pn532
{
/// <summary>
/// The modes for which the PN532 can be awake when sleeping
/// </summary>
public enum WakeUpEnable
{
/// <summary>
/// I2C
/// </summary>
I2c = 0b1000_0000,
/// <summary>
/// GPIO
/// </summary>
Gpio = 0b0100_0000,
/// <summary>
/// SPI
/// </summary>
Spi = 0b0010_0000,
/// <summary>
/// High Speed UART
/// </summary>
Hsu = 0b0001_0000,
/// <summary>
/// RF Lev el Detector
/// </summary>
RFLevelDetector = 0b0000_1000,
/// <summary>
/// Int 1
/// </summary>
Int1 = 0b0000_0010,
/// <summary>
/// Int 0
/// </summary>
Int0 = 0b0000_0001,
}
}