forked from nanoframework/nanoFramework.IoT.Device
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathP3.cs
46 lines (39 loc) · 980 Bytes
/
P3.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.
using System;
namespace Iot.Device.Pn532
{
/// <summary>
/// The GPIO state of the GPIO located on the P3 port
/// Most of those ports can be used as external GPIO ports
/// Refer to the detailed documentation page 79 and 80
/// </summary>
[Flags]
public enum Port3
{
/// <summary>
/// P35
/// </summary>
P35 = 0b0010_0000,
/// <summary>
/// P34
/// </summary>
P34 = 0b0001_0000,
/// <summary>
/// P33
/// </summary>
P33 = 0b0000_1000,
/// <summary>
/// P32
/// </summary>
P32 = 0b0000_0100,
/// <summary>
/// P31
/// </summary>
P31 = 0b0000_0010,
/// <summary>
/// P30
/// </summary>
P30 = 0b0000_0001,
}
}